diff options
Diffstat (limited to 'lib/libc/stdlib/atof.c')
| -rw-r--r-- | lib/libc/stdlib/atof.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/stdlib/atof.c b/lib/libc/stdlib/atof.c index dad2b77bfd2..2724530231c 100644 --- a/lib/libc/stdlib/atof.c +++ b/lib/libc/stdlib/atof.c @@ -28,14 +28,13 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: atof.c,v 1.3 2003/06/02 20:18:37 millert Exp $"; +static char *rcsid = "$OpenBSD: atof.c,v 1.4 2005/03/30 18:51:49 pat Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdlib.h> double -atof(ascii) - const char *ascii; +atof(const char *ascii) { return(strtod(ascii, (char **)NULL)); } |
