Browse Source

_strtod.c: only strtod hidden version is needed

Do not provide hidden strtod_l, wcstod and wcstod_l

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Peter S. Mazinger 13 years ago
parent
commit
576b686466
1 changed files with 3 additions and 2 deletions
  1. 3 2
      libc/stdlib/_strtod.c

+ 3 - 2
libc/stdlib/_strtod.c

@@ -544,7 +544,6 @@ libc_hidden_def(__XL_NPP(strtof))
 #define Wchar char
 #endif
 
-libc_hidden_proto(__XL_NPP(strtod))
 double __XL_NPP(strtod)(const Wchar *__restrict str,
 					Wchar **__restrict endptr   __LOCALE_PARAM )
 {
@@ -562,7 +561,9 @@ double __XL_NPP(strtod)(const Wchar *__restrict str,
 	return y;
 #endif
 }
-libc_hidden_def(__XL_NPP(strtod))
+#ifdef L_strtod
+libc_hidden_def(strtod)
+#endif
 
 #endif
 #endif