From c049dd5a782f36ca5f6eeb39e110d5774631aa1c Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 6 Dec 2002 18:58:51 +0000 Subject: 2002-12-06 Jeff Johnston * libc/include/stdlib.h (strtof): New prototype (from C99). (strtodf): Changed from prototype to macro which redefines to strtof. * libc/stdlib/atof.c: Change documentation to refer to strtof instead of strtodf. * libc/stdlib/atoff.c (atoff): Change to call strtof instead of strtodf. * libc/stdlib/strtod.c (strtodf): Renamed to strtof. (strtof): New function. * libm/test/convert.c (test_strtodf): Renamed to test_strtof which calls strtof. --- newlib/libc/stdlib/atoff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/stdlib/atoff.c') diff --git a/newlib/libc/stdlib/atoff.c b/newlib/libc/stdlib/atoff.c index 9c682c47a..c97b78fb1 100644 --- a/newlib/libc/stdlib/atoff.c +++ b/newlib/libc/stdlib/atoff.c @@ -5,5 +5,5 @@ float _DEFUN (atoff, (s), _CONST char *s) { - return strtodf (s, NULL); + return strtof (s, NULL); } -- cgit v1.2.3