summaryrefslogtreecommitdiff
path: root/src/stdlib/strtof.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/strtof.c')
-rw-r--r--src/stdlib/strtof.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stdlib/strtof.c b/src/stdlib/strtof.c
new file mode 100644
index 00000000..07b32df4
--- /dev/null
+++ b/src/stdlib/strtof.c
@@ -0,0 +1,6 @@
+#include <stdlib.h>
+
+float strtof(const char *s, char **p)
+{
+ return strtold(s, p);
+}