summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorTor Egge <tegge@FreeBSD.org>2001-02-25 08:51:41 +0000
committerTor Egge <tegge@FreeBSD.org>2001-02-25 08:51:41 +0000
commit3275de7ca5a797bb9238b894213ce2f13e13d325 (patch)
treed16ba3458151682b437f100720a5dc3138858e49 /lib/libc/stdlib
parentb4540ce2ea03ab54be5d43efc80ba20c567e0e1c (diff)
Notes
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/netbsd_strtod.c2
-rw-r--r--lib/libc/stdlib/strtod.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/netbsd_strtod.c b/lib/libc/stdlib/netbsd_strtod.c
index b48f8279662c..7d80838a5c0d 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 1ed622c33217..f8ed1c3df610 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