This patch eliminates redundant declarations of symbols DPD2BIN and BIN2DPD. These will trigger 'redundant redeclaration of ?XXX?' warnings and thus may fail QEMU compilation.
Signed-off-by: Tom Musta <tommu...@gmail.com> --- libdecnumber/dpd/decimal128.c | 2 -- libdecnumber/dpd/decimal64.c | 2 -- 2 files changed, 0 insertions(+), 4 deletions(-) diff --git a/libdecnumber/dpd/decimal128.c b/libdecnumber/dpd/decimal128.c index c0f5786..3183612 100644 --- a/libdecnumber/dpd/decimal128.c +++ b/libdecnumber/dpd/decimal128.c @@ -45,8 +45,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see /* 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); diff --git a/libdecnumber/dpd/decimal64.c b/libdecnumber/dpd/decimal64.c index 53386ab..ccd7f6b 100644 --- a/libdecnumber/dpd/decimal64.c +++ b/libdecnumber/dpd/decimal64.c @@ -45,8 +45,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see /* 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); -- 1.7.1