Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Commit

Permalink
libdecnumber: Eliminate redundant declarations
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
  • Loading branch information
Tom Musta authored and agraf committed Jun 16, 2014
1 parent 9b7a14b commit 426d9a1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions libdecnumber/dpd/decimal128.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions libdecnumber/dpd/decimal32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions libdecnumber/dpd/decimal64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 426d9a1

Please sign in to comment.