]> xenbits.xensource.com Git - osstest/qemu.git/commitdiff
libdecnumber: Eliminate redundant declarations
authorTom Musta <tommusta@gmail.com>
Mon, 21 Apr 2014 20:54:50 +0000 (15:54 -0500)
committerAlexander Graf <agraf@suse.de>
Mon, 16 Jun 2014 11:24:28 +0000 (13:24 +0200)
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>
libdecnumber/dpd/decimal128.c
libdecnumber/dpd/decimal32.c
libdecnumber/dpd/decimal64.c

index 8f8e9835f511c8e1a194523a75c38bf6233fbffd..7551b7caafb90b074b83dbc89b961354d7f21467 100644 (file)
@@ -50,8 +50,6 @@
 
 /* Utility routines and tables [in decimal64.c] */
 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 void decDigitsFromDPD(decNumber *, const uInt *, Int);
index f8d30e630465cb6a651c75109ed027e55afba0f6..095ab756540e868d23296715668f201687bf3781 100644 (file)
@@ -50,8 +50,6 @@
 
 /* Utility tables and routines [in decimal64.c] */
 extern const uInt   COMBEXP[32], COMBMSD[32];
-extern const uShort DPD2BIN[1024];
-extern const uShort BIN2DPD[1000];
 extern const uByte  BIN2CHAR[4001];
 
 extern void decDigitsToDPD(const decNumber *, uInt *, Int);
index 3bd27760ae7afe58b7cdb0522b5dc06598967189..8256084e90069822810b7847c3c79c34df3a42a3 100644 (file)
@@ -50,8 +50,6 @@
 
 /* Utility routines and tables [in decimal64.c]; externs for C++ */
 extern const uInt COMBEXP[32], COMBMSD[32];
-extern const uShort DPD2BIN[1024];
-extern const uShort BIN2DPD[1000];
 extern const uByte  BIN2CHAR[4001];
 
 extern void decDigitsFromDPD(decNumber *, const uInt *, Int);