summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfprintf.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2013-11-01 19:05:10 +0000
committerguenther <guenther@openbsd.org>2013-11-01 19:05:10 +0000
commitdef3c8f65cb99575ee3fa5f1d19d0d30e143f0db (patch)
treea237e9f7c15fadce2eb6e32cc663f56c3812ef84 /lib/libc/stdio/vfprintf.c
parentoaic can be booted off. (diff)
downloadwireguard-openbsd-def3c8f65cb99575ee3fa5f1d19d0d30e143f0db.tar.xz
wireguard-openbsd-def3c8f65cb99575ee3fa5f1d19d0d30e143f0db.zip
Pull in gdtoa.h instead of declaring __dtoa() and __freedtoa() directly
ok deraadt@
Diffstat (limited to 'lib/libc/stdio/vfprintf.c')
-rw-r--r--lib/libc/stdio/vfprintf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c
index b4f8f296ce4..dbbc46d94df 100644
--- a/lib/libc/stdio/vfprintf.c
+++ b/lib/libc/stdio/vfprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfprintf.c,v 1.63 2013/03/02 19:40:08 guenther Exp $ */
+/* $OpenBSD: vfprintf.c,v 1.64 2013/11/01 19:05:10 guenther Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@@ -216,11 +216,10 @@ __wcsconv(wchar_t *wcsarg, int prec)
#include <locale.h>
#include <math.h>
#include "floatio.h"
+#include "gdtoa.h"
#define DEFPREC 6
-extern char *__dtoa(double, int, int, int *, int *, char **);
-extern void __freedtoa(char *);
static int exponent(char *, int, int);
#endif /* FLOATING_POINT */