Loading...
stdlib/FreeBSD/atof.c Libc-1725.40.4 Libc-763.11
--- Libc/Libc-1725.40.4/stdlib/FreeBSD/atof.c
+++ Libc/Libc-763.11/stdlib/FreeBSD/atof.c
@@ -33,19 +33,11 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD: src/lib/libc/stdlib/atof.c,v 1.6 2007/01/09 00:28:09 imp Exp $");
 
-#include "xlocale_private.h"
-
 #include <stdlib.h>
 
 double
-atof(const char *ascii)
+atof(ascii)
+	const char *ascii;
 {
-	return strtod_l(ascii, (char **)NULL, __current_locale());
+	return strtod(ascii, (char **)NULL);
 }
-
-double
-atof_l(const char *ascii, locale_t loc)
-{
-	/* no need to call NORMALIZE_LOCALE(loc) because strtod_l will */
-	return strtod_l(ascii, (char **)NULL, loc);
-}