diff options
author | dim <dim@FreeBSD.org> | 2015-09-20 20:34:17 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-09-20 20:34:17 +0000 |
commit | 18b14b4a2fd66af5fcf07d469fe45b32b2c0be76 (patch) | |
tree | 6068d0c9297482b6c68c78d37d113e16d44371c0 /lib/libc/stdlib/atof.c | |
parent | 7b8be099124cf3848a48077ce37206e0ae691839 (diff) | |
parent | e5a64a53e6f41e1fb2f62f6b0fdfdbe1b7d5f5b0 (diff) | |
download | FreeBSD-src-18b14b4a2fd66af5fcf07d469fe45b32b2c0be76.zip FreeBSD-src-18b14b4a2fd66af5fcf07d469fe45b32b2c0be76.tar.gz |
Merge ^/head r287878 through r288034.
Diffstat (limited to 'lib/libc/stdlib/atof.c')
-rw-r--r-- | lib/libc/stdlib/atof.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libc/stdlib/atof.c b/lib/libc/stdlib/atof.c index 3514ae3..0458eb9 100644 --- a/lib/libc/stdlib/atof.c +++ b/lib/libc/stdlib/atof.c @@ -42,16 +42,13 @@ __FBSDID("$FreeBSD$"); #include <xlocale.h> double -atof(ascii) - const char *ascii; +atof(const char *ascii) { return strtod(ascii, (char **)NULL); } double -atof_l(ascii, locale) - const char *ascii; - locale_t locale; +atof_l(const char *ascii, locale_t locale) { return strtod_l(ascii, (char **)NULL, locale); } |