summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/atof.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/stdlib/atof.c')
-rw-r--r--src/lib/libc/stdlib/atof.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/atof.c b/src/lib/libc/stdlib/atof.c
index dad2b77bfd..2724530231 100644
--- a/src/lib/libc/stdlib/atof.c
+++ b/src/lib/libc/stdlib/atof.c
@@ -28,14 +28,13 @@
28 */ 28 */
29 29
30#if defined(LIBC_SCCS) && !defined(lint) 30#if defined(LIBC_SCCS) && !defined(lint)
31static char *rcsid = "$OpenBSD: atof.c,v 1.3 2003/06/02 20:18:37 millert Exp $"; 31static char *rcsid = "$OpenBSD: atof.c,v 1.4 2005/03/30 18:51:49 pat Exp $";
32#endif /* LIBC_SCCS and not lint */ 32#endif /* LIBC_SCCS and not lint */
33 33
34#include <stdlib.h> 34#include <stdlib.h>
35 35
36double 36double
37atof(ascii) 37atof(const char *ascii)
38 const char *ascii;
39{ 38{
40 return(strtod(ascii, (char **)NULL)); 39 return(strtod(ascii, (char **)NULL));
41} 40}