diff options
Diffstat (limited to 'libc/stdlib/strtod.c')
-rw-r--r-- | libc/stdlib/strtod.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/stdlib/strtod.c b/libc/stdlib/strtod.c index 7359d5cf9..629d412b6 100644 --- a/libc/stdlib/strtod.c +++ b/libc/stdlib/strtod.c @@ -261,3 +261,10 @@ double strtod(const char *str, char **endptr) return number; } + +/* This should probably be in its own .o file. Oh well. */ +double atof(const char *str) +{ + return(strtod((str),(char**)0)); + +} |