From 569f5d668c071487a31bdc51b27bbedaa46cb01a Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 29 Oct 2006 15:10:09 +0000 Subject: [PATCH] compilation fix git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2205 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-arm/nwfpe/fpa11_cprt.c | 4 ---- target-mips/op.c | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/target-arm/nwfpe/fpa11_cprt.c b/target-arm/nwfpe/fpa11_cprt.c index 91f2d80..3be9b42 100644 --- a/target-arm/nwfpe/fpa11_cprt.c +++ b/target-arm/nwfpe/fpa11_cprt.c @@ -27,10 +27,6 @@ //#include "fpmodule.h" //#include "fpmodule.inl" -extern flag floatx80_is_nan(floatx80); -extern flag float64_is_nan( float64); -extern flag float32_is_nan( float32); - void SetRoundingMode(const unsigned int opcode); unsigned int PerformFLT(const unsigned int opcode); diff --git a/target-mips/op.c b/target-mips/op.c index 39db3ce..638fd3b 100644 --- a/target-mips/op.c +++ b/target-mips/op.c @@ -977,9 +977,8 @@ void op_cmp_ ## fmt ## _ ## op (void) \ RETURN(); \ } -flag float64_is_unordered(float64 a, float64 b STATUS_PARAM) +int float64_is_unordered(float64 a, float64 b STATUS_PARAM) { - extern flag float64_is_nan( float64 a ); if (float64_is_nan(a) || float64_is_nan(b)) { float_raise(float_flag_invalid, status); return 1; -- 2.7.4