* 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 f0c103a..5852ac6 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 c7933a8..d2a2af0 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 18779f8..2dc66c1 100644 (file)
@@ -175,4 +175,6 @@ typedef USItype UHWtype;
 #include <stdlib/longlong.h>
 #endif
 
+#include <stdlib.h>
+
 #endif