summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfwprintf.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/vfwprintf.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/vfwprintf.c')
-rw-r--r--lib/libc/stdio/vfwprintf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/stdio/vfwprintf.c b/lib/libc/stdio/vfwprintf.c
index f76eed3e24c..413df38550e 100644
--- a/lib/libc/stdio/vfwprintf.c
+++ b/lib/libc/stdio/vfwprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfwprintf.c,v 1.6 2013/04/17 17:40:35 tedu Exp $ */
+/* $OpenBSD: vfwprintf.c,v 1.7 2013/11/01 19:05:11 guenther Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@@ -235,11 +235,10 @@ __mbsconv(char *mbsarg, 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(wchar_t *, int, int);
#endif /* FLOATING_POINT */