[git commit master 1/1] _strtod.c: only strtod hidden version is needed

Peter S. Mazinger ps.m at gmx.net
Wed Mar 9 13:48:45 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=576b6864660aba3d65f0fb42b7aaeaaae3e6a478
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Do not provide hidden strtod_l, wcstod and wcstod_l

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 libc/stdlib/_strtod.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/libc/stdlib/_strtod.c b/libc/stdlib/_strtod.c
index dc5d557..4e7965f 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
-- 
1.7.3.4



More information about the uClibc-cvs mailing list