[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC 05/12] target-ppc: Eliminate redundant declarations
From: |
Tom Musta |
Subject: |
[Qemu-devel] [RFC 05/12] target-ppc: Eliminate redundant declarations |
Date: |
Thu, 13 Mar 2014 10:13:01 -0500 |
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 <address@hidden>
---
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
- [Qemu-devel] [RFC 00/12] target-ppc: Decimal Floating Point, Tom Musta, 2014/03/13
- [Qemu-devel] [RFC 05/12] target-ppc: Eliminate redundant declarations,
Tom Musta <=
- [Qemu-devel] [RFC 04/12] target-ppc: Change gstdint.h to stdint.h, Tom Musta, 2014/03/13
- [Qemu-devel] [RFC 06/12] target-ppc: Eliminate Unused Variable in decSetSubnormal, Tom Musta, 2014/03/13
- [Qemu-devel] [RFC 07/12] target-ppc: Enable Building of libdecnumber, Tom Musta, 2014/03/13
- [Qemu-devel] [RFC 10/12] target-ppc: Introduce DFP Helper Utilities, Tom Musta, 2014/03/13
- [Qemu-devel] [RFC 08/12] target-ppc: Define FPR Pointer Type for Helpers, Tom Musta, 2014/03/13
- [Qemu-devel] [RFC 09/12] target-ppc: Introduce Translation Macros for DFP Arithmetic Forms, Tom Musta, 2014/03/13
- [Qemu-devel] [RFC 02/12] target-ppc: Prepare libdecnumber for QEMU include structure, Tom Musta, 2014/03/13
- [Qemu-devel] [RFC 11/12] target-ppc: Introduce DFP Post Processor Utilities, Tom Musta, 2014/03/13
- [Qemu-devel] [RFC 03/12] target-ppc: Modify dconfig.h to Integrate with QEMU, Tom Musta, 2014/03/13
- [Qemu-devel] [RFC 12/12] target-ppc: Introduce DFP Add, Tom Musta, 2014/03/13