summaryrefslogtreecommitdiff
path: root/soft-fp
diff options
context:
space:
mode:
Diffstat (limited to 'soft-fp')
-rw-r--r--soft-fp/floatdisf.c2
-rw-r--r--soft-fp/soft-fp.h2
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