diff options
author | 2013-11-01 19:05:10 +0000 | |
---|---|---|
committer | 2013-11-01 19:05:10 +0000 | |
commit | def3c8f65cb99575ee3fa5f1d19d0d30e143f0db (patch) | |
tree | a237e9f7c15fadce2eb6e32cc663f56c3812ef84 /lib/libc/stdlib/ecvt.c | |
parent | oaic can be booted off. (diff) | |
download | wireguard-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/stdlib/ecvt.c')
-rw-r--r-- | lib/libc/stdlib/ecvt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/stdlib/ecvt.c b/lib/libc/stdlib/ecvt.c index 03ff9189677..4562e309e8e 100644 --- a/lib/libc/stdlib/ecvt.c +++ b/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 <Todd.Miller@courtesan.com> @@ -23,9 +23,8 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#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 * |