summaryrefslogtreecommitdiff
path: root/libc/stdlib/strtof.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/strtof.c')
-rw-r--r--libc/stdlib/strtof.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdlib/strtof.c b/libc/stdlib/strtof.c
index d25a67d05..15863053e 100644
--- a/libc/stdlib/strtof.c
+++ b/libc/stdlib/strtof.c
@@ -23,10 +23,10 @@
* to an internal conversion from a double to a float, thereby wasting a bunch
* of precision. But this is small, and works for now... */
-#define strtod __strtod
-
#include <stdlib.h>
+libc_hidden_proto(strtod)
+
float strtof (const char *str, char **endptr)
{
return(strtod(str,endptr));