From 125773133f0fe2425ab3d8305ed880e9010f6803 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 19 May 2008 22:57:34 +0000 Subject: Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL block in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's. --- libc/string/strlcpy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/string/strlcpy.c') diff --git a/libc/string/strlcpy.c b/libc/string/strlcpy.c index e888b85b2..cdad4dc5d 100644 --- a/libc/string/strlcpy.c +++ b/libc/string/strlcpy.c @@ -11,7 +11,7 @@ # define Wstrlcpy __wcslcpy # define Wstrxfrm wcsxfrm #else -libc_hidden_proto(strlcpy) +/* Experimentally off - libc_hidden_proto(strlcpy) */ # define Wstrlcpy strlcpy # define Wstrxfrm strxfrm #endif @@ -52,7 +52,7 @@ size_t Wstrlcpy(register Wchar *__restrict dst, #ifndef WANT_WIDE libc_hidden_def(strlcpy) #ifndef __UCLIBC_HAS_LOCALE__ -libc_hidden_proto(strxfrm) +/* Experimentally off - libc_hidden_proto(strxfrm) */ strong_alias(strlcpy,strxfrm) libc_hidden_def(strxfrm) #endif -- cgit v1.2.3