Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-12-06 21:58:51 +0300
committerJeff Johnston <jjohnstn@redhat.com>2002-12-06 21:58:51 +0300
commitc049dd5a782f36ca5f6eeb39e110d5774631aa1c (patch)
tree42a17e5eac109ebf1ada11bff536938b4d83e71c /newlib/libc/stdlib/atoff.c
parente25e377eb323e9ac6f6ea3b23f57a68293be2ae9 (diff)
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.
Diffstat (limited to 'newlib/libc/stdlib/atoff.c')
-rw-r--r--newlib/libc/stdlib/atoff.c2
1 files changed, 1 insertions, 1 deletions
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);
}