* 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.
10 lines
114 B
C
10 lines
114 B
C
#include <stdlib.h>
|
|
#include <_ansi.h>
|
|
|
|
float
|
|
_DEFUN (atoff, (s),
|
|
_CONST char *s)
|
|
{
|
|
return strtof (s, NULL);
|
|
}
|