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/gcvt.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/gcvt.c')
-rw-r--r-- | lib/libc/stdlib/gcvt.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/stdlib/gcvt.c b/lib/libc/stdlib/gcvt.c index d9081a7d396..f233332799f 100644 --- a/lib/libc/stdlib/gcvt.c +++ b/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 <stdio.h> #include <stdlib.h> #include <string.h> - -extern char *__dtoa(double, int, int, int *, int *, char **); -extern void __freedtoa(char *); +#include "gdtoa.h" #define DEFPREC 6 |