diff options
author | Roland McGrath <roland@gnu.org> | 2005-12-06 00:38:43 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-12-06 00:38:43 +0000 |
commit | d57e74714e9631d71e351a2d02c9565be0d4c5a3 (patch) | |
tree | 852b3fa95abc812194a8589829a2aee6f4a15fa7 /soft-fp | |
parent | f3423d5ab5a64638d38783c74d4c0330db60ff78 (diff) | |
download | glibc-d57e74714e9631d71e351a2d02c9565be0d4c5a3.tar.gz glibc-d57e74714e9631d71e351a2d02c9565be0d4c5a3.tar.xz glibc-d57e74714e9631d71e351a2d02c9565be0d4c5a3.zip |
* soft-fp/soft-fp.h: Include <stdlib.h>.
* soft-fp/floatdisf.c (__floatdisf): Return float.
Diffstat (limited to 'soft-fp')
-rw-r--r-- | soft-fp/floatdisf.c | 2 | ||||
-rw-r--r-- | soft-fp/soft-fp.h | 2 |
2 files changed, 3 insertions, 1 deletions
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 |