diff options
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r-- | lib/libc/stdlib/netbsd_strtod.c | 2 | ||||
-rw-r--r-- | lib/libc/stdlib/strtod.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/netbsd_strtod.c b/lib/libc/stdlib/netbsd_strtod.c index b48f827..7d80838 100644 --- a/lib/libc/stdlib/netbsd_strtod.c +++ b/lib/libc/stdlib/netbsd_strtod.c @@ -370,7 +370,7 @@ extern double rnd_prod(double, double), rnd_quot(double, double); #ifdef __cplusplus extern "C" double strtod(const char *s00, char **se); extern "C" char *__dtoa(double d, int mode, int ndigits, - int *decpt, int *sign, char **rve); + int *decpt, int *sign, char **rve, char **resultp); #endif struct diff --git a/lib/libc/stdlib/strtod.c b/lib/libc/stdlib/strtod.c index 1ed622c..f8ed1c3 100644 --- a/lib/libc/stdlib/strtod.c +++ b/lib/libc/stdlib/strtod.c @@ -359,8 +359,8 @@ extern double rnd_prod(double, double), rnd_quot(double, double); #ifdef __cplusplus extern "C" double strtod(const char *s00, char **se); -extern "C" char *dtoa(double d, int mode, int ndigits, - int *decpt, int *sign, char **rve); +extern "C" char *__dtoa(double d, int mode, int ndigits, + int *decpt, int *sign, char **rve, char **resultp); #endif struct |