Просмотр исходного кода

libdecnumber: Eliminate redundant declarations

Eliminate redundant declarations of symbols DPD2BIN and BIN2DPD in
various .c source files.  These symbols are already declared in decDPD.h and
thus will trigger 'redundant redeclaration of ?XXX?' warnings, which, of
course, may fail QEMU compilation.

Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Tom Musta 11 лет назад
Родитель
Сommit
426d9a1a59
3 измененных файлов с 0 добавлено и 6 удалено
  1. 0 2
      libdecnumber/dpd/decimal128.c
  2. 0 2
      libdecnumber/dpd/decimal32.c
  3. 0 2
      libdecnumber/dpd/decimal64.c

+ 0 - 2
libdecnumber/dpd/decimal128.c

@@ -50,8 +50,6 @@
 
 
 /* Utility routines and tables [in decimal64.c] */
 /* Utility routines and tables [in decimal64.c] */
 extern const uInt   COMBEXP[32], COMBMSD[32];
 extern const uInt   COMBEXP[32], COMBMSD[32];
-extern const uShort DPD2BIN[1024];
-extern const uShort BIN2DPD[1000];	/* [not used] */
 extern const uByte  BIN2CHAR[4001];
 extern const uByte  BIN2CHAR[4001];
 
 
 extern void decDigitsFromDPD(decNumber *, const uInt *, Int);
 extern void decDigitsFromDPD(decNumber *, const uInt *, Int);

+ 0 - 2
libdecnumber/dpd/decimal32.c

@@ -50,8 +50,6 @@
 
 
 /* Utility tables and routines [in decimal64.c] */
 /* Utility tables and routines [in decimal64.c] */
 extern const uInt   COMBEXP[32], COMBMSD[32];
 extern const uInt   COMBEXP[32], COMBMSD[32];
-extern const uShort DPD2BIN[1024];
-extern const uShort BIN2DPD[1000];
 extern const uByte  BIN2CHAR[4001];
 extern const uByte  BIN2CHAR[4001];
 
 
 extern void decDigitsToDPD(const decNumber *, uInt *, Int);
 extern void decDigitsToDPD(const decNumber *, uInt *, Int);

+ 0 - 2
libdecnumber/dpd/decimal64.c

@@ -50,8 +50,6 @@
 
 
 /* Utility routines and tables [in decimal64.c]; externs for C++ */
 /* Utility routines and tables [in decimal64.c]; externs for C++ */
 extern const uInt COMBEXP[32], COMBMSD[32];
 extern const uInt COMBEXP[32], COMBMSD[32];
-extern const uShort DPD2BIN[1024];
-extern const uShort BIN2DPD[1000];
 extern const uByte  BIN2CHAR[4001];
 extern const uByte  BIN2CHAR[4001];
 
 
 extern void decDigitsFromDPD(decNumber *, const uInt *, Int);
 extern void decDigitsFromDPD(decNumber *, const uInt *, Int);