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/atof.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/stdlib/atof.c') diff --git a/newlib/libc/stdlib/atof.c b/newlib/libc/stdlib/atof.c index cf4abdb71..bba343cad 100644 --- a/newlib/libc/stdlib/atof.c +++ b/newlib/libc/stdlib/atof.c @@ -36,7 +36,7 @@ of whitespace, or if the first non-whitespace character is something other than <<+>>, <<->>, <<.>>, or a digit. <)>> is implemented as <, NULL)>>. -<)>> is implemented as <, NULL)>>. +<)>> is implemented as <, NULL)>>. RETURNS <> returns the converted substring value, if any, as a -- cgit v1.2.3