diff --git a/src/lib/libc/stdlib/ecvt.c b/src/lib/libc/stdlib/ecvt.c index 03ff9189..4562e309 100644 --- a/src/lib/libc/stdlib/ecvt.c +++ b/src/lib/libc/stdlib/ecvt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ecvt.c,v 1.7 2009/10/16 12:15:03 martynas Exp $ */ +/* $OpenBSD: ecvt.c,v 1.8 2013/11/01 19:05:11 guenther Exp $ */ /* * Copyright (c) 2002, 2006 Todd C. Miller @@ -23,9 +23,8 @@ #include #include #include +#include "gdtoa.h" -extern char *__dtoa(double, int, int, int *, int *, char **); -extern void __freedtoa(char *); static char *__cvt(double, int, int *, int *, int, int); static char * diff --git a/src/lib/libc/stdlib/gcvt.c b/src/lib/libc/stdlib/gcvt.c index d9081a7d..f2333327 100644 --- a/src/lib/libc/stdlib/gcvt.c +++ b/src/lib/libc/stdlib/gcvt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gcvt.c,v 1.12 2010/09/25 13:19:19 millert Exp $ */ +/* $OpenBSD: gcvt.c,v 1.13 2013/11/01 19:05:11 guenther Exp $ */ /* * Copyright (c) 2002, 2003, 2006, 2010 @@ -25,9 +25,7 @@ #include #include #include - -extern char *__dtoa(double, int, int, int *, int *, char **); -extern void __freedtoa(char *); +#include "gdtoa.h" #define DEFPREC 6