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