aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-12-06 00:38:43 +0000
committerRoland McGrath <roland@gnu.org>2005-12-06 00:38:43 +0000
commitd57e74714e9631d71e351a2d02c9565be0d4c5a3 (patch)
tree852b3fa95abc812194a8589829a2aee6f4a15fa7
parentf3423d5ab5a64638d38783c74d4c0330db60ff78 (diff)
downloadglibc-d57e74714e9631d71e351a2d02c9565be0d4c5a3.tar
glibc-d57e74714e9631d71e351a2d02c9565be0d4c5a3.tar.gz
glibc-d57e74714e9631d71e351a2d02c9565be0d4c5a3.tar.bz2
glibc-d57e74714e9631d71e351a2d02c9565be0d4c5a3.zip
* soft-fp/soft-fp.h: Include <stdlib.h>.
* soft-fp/floatdisf.c (__floatdisf): Return float.
-rw-r--r--ChangeLog6
-rw-r--r--soft-fp/floatdisf.c2
-rw-r--r--soft-fp/soft-fp.h2
3 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f0c103ab60..5852ac69f9 100644
--- 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
diff --git a/soft-fp/floatdisf.c b/soft-fp/floatdisf.c
index c7933a85ff..d2a2af0947 100644
--- a/soft-fp/floatdisf.c
+++ b/soft-fp/floatdisf.c
@@ -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);
diff --git a/soft-fp/soft-fp.h b/soft-fp/soft-fp.h
index 18779f88d8..2dc66c1ba3 100644
--- a/soft-fp/soft-fp.h
+++ b/soft-fp/soft-fp.h
@@ -175,4 +175,6 @@ typedef USItype UHWtype;
#include <stdlib/longlong.h>
#endif
+#include <stdlib.h>
+
#endif