From fec0e122f4232aaa52dd6c31d5aeebf55ae3e922 Mon Sep 17 00:00:00 2001 From: r2d Date: Fri, 30 Mar 2012 20:03:53 +0000 Subject: [PATCH 04/19] add extern keyword to global variable declaration (don't know it worked without ... thanks Dmitry) git-svn-id: http://svn.musepack.net/libmpc/trunk@479 c51c8d5e-032a-db11-a0f2-0002b3467eef --- libmpcdec/requant.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libmpcdec/requant.h b/libmpcdec/requant.h index eb3124d..c95101f 100644 --- a/libmpcdec/requant.h +++ b/libmpcdec/requant.h @@ -47,9 +47,9 @@ extern "C" { /* C O N S T A N T S */ -const mpc_uint8_t Res_bit [18]; ///< Bits per sample for chosen quantizer -const MPC_SAMPLE_FORMAT __Cc [1 + 18]; ///< Requantization coefficients -const mpc_int16_t __Dc [1 + 18]; ///< Requantization offset +extern const mpc_uint8_t Res_bit [18]; ///< Bits per sample for chosen quantizer +extern const MPC_SAMPLE_FORMAT __Cc [1 + 18]; ///< Requantization coefficients +extern const mpc_int16_t __Dc [1 + 18]; ///< Requantization offset #define Cc (__Cc + 1) #define Dc (__Dc + 1) -- 2.46.0