* soft-fp/soft-fp.h: Include <stdlib.h>.
authorRoland McGrath <roland@gnu.org>
Tue, 6 Dec 2005 00:38:43 +0000 (00:38 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 6 Dec 2005 00:38:43 +0000 (00:38 +0000)
* soft-fp/floatdisf.c (__floatdisf): Return float.

ChangeLog
soft-fp/floatdisf.c
soft-fp/soft-fp.h

index f0c103ab60d99efb239645da1539cafc67f88f8c..5852ac69f9db865f7507fa4be7edb37677daaaa4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-12-04  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * soft-fp/soft-fp.h: Include <stdlib.h>.
+
+       * soft-fp/floatdisf.c (__floatdisf): Return float.
+
 2005-12-05  Roland McGrath  <roland@redhat.com>
 
        * sysdeps/unix/sysv/linux/kernel-features.h
index c7933a85ffd2109596683f1713215e11517478a3..d2a2af09476a7121ab370962fcd7f9d4e5284f33 100644 (file)
@@ -23,7 +23,7 @@
 #include "soft-fp.h"
 #include "single.h"
 
-double __floatdisf(DItype i)
+float __floatdisf(DItype i)
 {
   FP_DECL_EX;
   FP_DECL_S(A);
index 18779f88d89bd1a25a13cd570922937cf6807a4f..2dc66c1ba31f2f21b8658bcf0f39786177729019 100644 (file)
@@ -175,4 +175,6 @@ typedef USItype UHWtype;
 #include <stdlib/longlong.h>
 #endif
 
+#include <stdlib.h>
+
 #endif