diff options
author | guenther <> | 2013-11-01 19:05:11 +0000 |
---|---|---|
committer | guenther <> | 2013-11-01 19:05:11 +0000 |
commit | 6a2690b2e5b6471dbc355f99a21bf3488b96c21a (patch) | |
tree | 6e12290ef850910f7bb54869fc66094e558b1d45 /src/lib/libc/stdlib/gcvt.c | |
parent | 7bc9ea1392b524e778a39ced35b01b8cf2a96d1e (diff) | |
download | openbsd-6a2690b2e5b6471dbc355f99a21bf3488b96c21a.tar.gz openbsd-6a2690b2e5b6471dbc355f99a21bf3488b96c21a.tar.bz2 openbsd-6a2690b2e5b6471dbc355f99a21bf3488b96c21a.zip |
Pull in gdtoa.h instead of declaring __dtoa() and __freedtoa() directly
ok deraadt@
Diffstat (limited to 'src/lib/libc/stdlib/gcvt.c')
-rw-r--r-- | src/lib/libc/stdlib/gcvt.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib/gcvt.c b/src/lib/libc/stdlib/gcvt.c index d9081a7d39..f233332799 100644 --- a/src/lib/libc/stdlib/gcvt.c +++ b/src/lib/libc/stdlib/gcvt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gcvt.c,v 1.12 2010/09/25 13:19:19 millert Exp $ */ | 1 | /* $OpenBSD: gcvt.c,v 1.13 2013/11/01 19:05:11 guenther Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2002, 2003, 2006, 2010 | 4 | * Copyright (c) 2002, 2003, 2006, 2010 |
@@ -25,9 +25,7 @@ | |||
25 | #include <stdio.h> | 25 | #include <stdio.h> |
26 | #include <stdlib.h> | 26 | #include <stdlib.h> |
27 | #include <string.h> | 27 | #include <string.h> |
28 | 28 | #include "gdtoa.h" | |
29 | extern char *__dtoa(double, int, int, int *, int *, char **); | ||
30 | extern void __freedtoa(char *); | ||
31 | 29 | ||
32 | #define DEFPREC 6 | 30 | #define DEFPREC 6 |
33 | 31 | ||