]> git.proxmox.com Git - qemu.git/commitdiff
Export tables properly to avoid a Sparse warning
authorBlue Swirl <blauwirbel@gmail.com>
Mon, 21 Sep 2009 18:40:57 +0000 (18:40 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Mon, 21 Sep 2009 18:40:57 +0000 (18:40 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
linux-user/arm/nwfpe/fpopcode.h

index 0b501dc6eaa95e3f7dd666f4e8a305fb69d8e4ee..d62011458e6ee3b4ddf5b8ff011b8bd9a8e66b73 100644 (file)
@@ -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];
 }