diff options
| author | guenther <> | 2013-11-01 19:05:11 +0000 | 
|---|---|---|
| committer | guenther <> | 2013-11-01 19:05:11 +0000 | 
| commit | 33781ecc7959fde4f27e4ef3ebe0b05363c10bf8 (patch) | |
| tree | 6e12290ef850910f7bb54869fc66094e558b1d45 /src/lib/libc/stdlib/gcvt.c | |
| parent | 8246b1b08bce9e1559cf0a487dbfa74fba308b49 (diff) | |
| download | openbsd-33781ecc7959fde4f27e4ef3ebe0b05363c10bf8.tar.gz openbsd-33781ecc7959fde4f27e4ef3ebe0b05363c10bf8.tar.bz2 openbsd-33781ecc7959fde4f27e4ef3ebe0b05363c10bf8.zip  | |
Pull in gdtoa.h instead of declaring __dtoa() and __freedtoa() directly
ok deraadt@
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libc/stdlib/gcvt.c | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib/gcvt.c b/src/lib/libc/stdlib/gcvt.c index d9081a7d39..f233332799 100644 --- a/src/lib/libc/stdlib/gcvt.c +++ b/src/lib/libc/stdlib/gcvt.c  | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: gcvt.c,v 1.12 2010/09/25 13:19:19 millert Exp $ */ | 1 | /* $OpenBSD: gcvt.c,v 1.13 2013/11/01 19:05:11 guenther Exp $ */ | 
| 2 | 2 | ||
| 3 | /* | 3 | /* | 
| 4 | * Copyright (c) 2002, 2003, 2006, 2010 | 4 | * Copyright (c) 2002, 2003, 2006, 2010 | 
| @@ -25,9 +25,7 @@ | |||
| 25 | #include <stdio.h> | 25 | #include <stdio.h> | 
| 26 | #include <stdlib.h> | 26 | #include <stdlib.h> | 
| 27 | #include <string.h> | 27 | #include <string.h> | 
| 28 | 28 | #include "gdtoa.h" | |
| 29 | extern char *__dtoa(double, int, int, int *, int *, char **); | ||
| 30 | extern void __freedtoa(char *); | ||
| 31 | 29 | ||
| 32 | #define DEFPREC 6 | 30 | #define DEFPREC 6 | 
| 33 | 31 | ||
