summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-09 14:18:15 +0100
committerPeter S. Mazinger <ps.m@gmx.net>2011-03-09 14:18:15 +0100
commit576b6864660aba3d65f0fb42b7aaeaaae3e6a478 (patch)
treea6dd6cf2b41ab7980bd7e52351a8a1638fa46efa /libc/stdlib
parent65e4d45a77ca147fe0988e2b3c452196c490a11c (diff)
_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>
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/_strtod.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/stdlib/_strtod.c b/libc/stdlib/_strtod.c
index dc5d55743..4e7965f9a 100644
--- a/libc/stdlib/_strtod.c
+++ b/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