From 32a34ada1be5a674a45f6b2c2a9573082242674c Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 29 Oct 2006 15:09:45 +0000 Subject: [PATCH] compilation fix --- 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 91f2d800..3be9b42a 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 39db3ce9..638fd3b3 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.39.5