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/ecvt.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/ecvt.c | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/ecvt.c b/src/lib/libc/stdlib/ecvt.c index 03ff918967..4562e309e8 100644 --- a/src/lib/libc/stdlib/ecvt.c +++ b/src/lib/libc/stdlib/ecvt.c  | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ecvt.c,v 1.7 2009/10/16 12:15:03 martynas Exp $ */ | 1 | /* $OpenBSD: ecvt.c,v 1.8 2013/11/01 19:05:11 guenther Exp $ */ | 
| 2 | 2 | ||
| 3 | /* | 3 | /* | 
| 4 | * Copyright (c) 2002, 2006 Todd C. Miller <Todd.Miller@courtesan.com> | 4 | * Copyright (c) 2002, 2006 Todd C. Miller <Todd.Miller@courtesan.com> | 
| @@ -23,9 +23,8 @@ | |||
| 23 | #include <stdio.h> | 23 | #include <stdio.h> | 
| 24 | #include <stdlib.h> | 24 | #include <stdlib.h> | 
| 25 | #include <string.h> | 25 | #include <string.h> | 
| 26 | #include "gdtoa.h" | ||
| 26 | 27 | ||
| 27 | extern char *__dtoa(double, int, int, int *, int *, char **); | ||
| 28 | extern void __freedtoa(char *); | ||
| 29 | static char *__cvt(double, int, int *, int *, int, int); | 28 | static char *__cvt(double, int, int *, int *, int, int); | 
| 30 | 29 | ||
| 31 | static char * | 30 | static char * | 
