From d4fa8d909c03ae8fe2c43b8f1d92ea40f9de0e84 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Mon, 21 Sep 2009 18:40:57 +0000 Subject: Export tables properly to avoid a Sparse warning Signed-off-by: Blue Swirl --- linux-user/arm/nwfpe/fpopcode.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'linux-user') diff --git a/linux-user/arm/nwfpe/fpopcode.h b/linux-user/arm/nwfpe/fpopcode.h index 0b501dc6e..d62011458 100644 --- a/linux-user/arm/nwfpe/fpopcode.h +++ b/linux-user/arm/nwfpe/fpopcode.h @@ -366,21 +366,22 @@ TABLE 5 /* Get the rounding mode from the opcode. */ #define getRoundingMode(opcode) ((opcode & MASK_ROUNDING_MODE) >> 5) +extern const floatx80 floatx80Constant[]; +extern const float64 float64Constant[]; +extern const float32 float32Constant[]; + static inline floatx80 getExtendedConstant(const unsigned int nIndex) { - extern const floatx80 floatx80Constant[]; return floatx80Constant[nIndex]; } static inline float64 getDoubleConstant(const unsigned int nIndex) { - extern const float64 float64Constant[]; return float64Constant[nIndex]; } static inline float32 getSingleConstant(const unsigned int nIndex) { - extern const float32 float32Constant[]; return float32Constant[nIndex]; } -- cgit v1.2.3