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/generic/strcmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/string/generic/strcmp.c') diff --git a/libc/string/generic/strcmp.c b/libc/string/generic/strcmp.c index 21c896986..50acd3548 100644 --- a/libc/string/generic/strcmp.c +++ b/libc/string/generic/strcmp.c @@ -20,7 +20,7 @@ #include "memcopy.h" -libc_hidden_proto(strcmp) +/* Experimentally off - libc_hidden_proto(strcmp) */ /* Compare S1 and S2, returning less than, equal to or greater than zero if S1 is lexicographically less than, equal to or greater than S2. */ @@ -44,7 +44,7 @@ int strcmp (const char *p1, const char *p2) libc_hidden_weak(strcmp) #ifndef __UCLIBC_HAS_LOCALE__ -libc_hidden_proto(strcoll) +/* Experimentally off - libc_hidden_proto(strcoll) */ strong_alias(strcmp,strcoll) libc_hidden_def(strcoll) #endif -- cgit v1.2.3