--- qemu/linux-user/arm/nwfpe/fpopcode.h 2018/04/24 16:52:09 1.1 +++ qemu/linux-user/arm/nwfpe/fpopcode.h 2018/04/24 18:26:39 1.1.1.3 @@ -15,8 +15,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + along with this program; if not, see . */ #ifndef __FPOPCODE_H__ @@ -366,21 +365,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]; }