aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-10-29 15:10:09 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-10-29 15:10:09 +0000
commit569f5d668c071487a31bdc51b27bbedaa46cb01a (patch)
treebc0543543f1f64cb9fd5b7c571a07eeacbff5796
parent750afe93fd15fafc20b6c34d30f339547d15c2d1 (diff)
downloadqemu-569f5d668c071487a31bdc51b27bbedaa46cb01a.zip
qemu-569f5d668c071487a31bdc51b27bbedaa46cb01a.tar.gz
qemu-569f5d668c071487a31bdc51b27bbedaa46cb01a.tar.bz2
compilation fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2205 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--target-arm/nwfpe/fpa11_cprt.c4
-rw-r--r--target-mips/op.c3
2 files changed, 1 insertions, 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;