archrelease: copy trunk to staging-x86_64
[arch-packages.git] / musepack / trunk / 1001_missing_extern_kw.patch
blob031d8f6f4955fd53f74af4ff47662931912e5986
1 Subject: Add extern keyword to global variable declaration.
2 Origin: upstream, commit:r479
3 Bug-Debian: http://bugs.debian.org/665974
4 ---
5 libmpcdec/requant.h | 6 +++---
6 1 file changed, 3 insertions(+), 3 deletions(-)
8 --- libmpc.orig/libmpcdec/requant.h
9 +++ libmpc/libmpcdec/requant.h
10 @@ -47,9 +47,9 @@ extern "C" {
13 /* C O N S T A N T S */
14 -const mpc_uint8_t Res_bit [18]; ///< Bits per sample for chosen quantizer
15 -const MPC_SAMPLE_FORMAT __Cc [1 + 18]; ///< Requantization coefficients
16 -const mpc_int16_t __Dc [1 + 18]; ///< Requantization offset
17 +extern const mpc_uint8_t Res_bit [18]; ///< Bits per sample for chosen quantizer
18 +extern const MPC_SAMPLE_FORMAT __Cc [1 + 18]; ///< Requantization coefficients
19 +extern const mpc_int16_t __Dc [1 + 18]; ///< Requantization offset
21 #define Cc (__Cc + 1)
22 #define Dc (__Dc + 1)