summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>2001-02-25 08:51:41 +0000
committertegge <tegge@FreeBSD.org>2001-02-25 08:51:41 +0000
commit03881b0e6167de36767b5b06a3655b9f0e6fbd8e (patch)
tree5bc70e50d1dfe92c137946a7a6bf94b80cb884ae /lib
parent9280a4f8492fb6173ae09f98559d2d1672afee88 (diff)
downloadFreeBSD-src-03881b0e6167de36767b5b06a3655b9f0e6fbd8e.zip
FreeBSD-src-03881b0e6167de36767b5b06a3655b9f0e6fbd8e.tar.gz
Update unused __dtoa prototypes to match reality.
Diffstat (limited to 'lib')
-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 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
OpenPOWER on IntegriCloud