diff options
-rw-r--r-- | src/lib/libc/stdlib/ecvt.c | 5 | ||||
-rw-r--r-- | src/lib/libc/stdlib/gcvt.c | 6 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/lib/libc/stdlib/ecvt.c b/src/lib/libc/stdlib/ecvt.c index 03ff918967..4562e309e8 100644 --- a/src/lib/libc/stdlib/ecvt.c +++ b/src/lib/libc/stdlib/ecvt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecvt.c,v 1.7 2009/10/16 12:15:03 martynas Exp $ */ | 1 | /* $OpenBSD: ecvt.c,v 1.8 2013/11/01 19:05:11 guenther Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2002, 2006 Todd C. Miller <Todd.Miller@courtesan.com> | 4 | * Copyright (c) 2002, 2006 Todd C. Miller <Todd.Miller@courtesan.com> |
@@ -23,9 +23,8 @@ | |||
23 | #include <stdio.h> | 23 | #include <stdio.h> |
24 | #include <stdlib.h> | 24 | #include <stdlib.h> |
25 | #include <string.h> | 25 | #include <string.h> |
26 | #include "gdtoa.h" | ||
26 | 27 | ||
27 | extern char *__dtoa(double, int, int, int *, int *, char **); | ||
28 | extern void __freedtoa(char *); | ||
29 | static char *__cvt(double, int, int *, int *, int, int); | 28 | static char *__cvt(double, int, int *, int *, int, int); |
30 | 29 | ||
31 | static char * | 30 | static char * |
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 | ||