2002-12-06 Jeff Johnston <jjohnstn@redhat.com>

* 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.
This commit is contained in:
Jeff Johnston
2002-12-06 18:58:51 +00:00
parent e25e377eb3
commit c049dd5a78
6 changed files with 31 additions and 13 deletions

View File

@ -5,5 +5,5 @@ float
_DEFUN (atoff, (s),
_CONST char *s)
{
return strtodf (s, NULL);
return strtof (s, NULL);
}