summaryrefslogtreecommitdiffstats
path: root/libc/string/generic/strcmp.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-06-19 07:24:59 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-06-19 07:24:59 +0000
commit4295030e50db499e51d397af2f2c3a69cc13d96d (patch)
tree7d8065b8c01b30789f132332e7c8e4116bcf0f83 /libc/string/generic/strcmp.c
parentfd5b87c1ff55e5c562d0387df2137608b73502ab (diff)
downloaduClibc-alpine-4295030e50db499e51d397af2f2c3a69cc13d96d.tar.bz2
uClibc-alpine-4295030e50db499e51d397af2f2c3a69cc13d96d.tar.xz
libc_hidden_proto moved to string.h
Diffstat (limited to 'libc/string/generic/strcmp.c')
-rw-r--r--libc/string/generic/strcmp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/string/generic/strcmp.c b/libc/string/generic/strcmp.c
index acfefb6dc..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. */
@@ -41,10 +41,10 @@ int strcmp (const char *p1, const char *p2)
return c1 - c2;
}
-libc_hidden_def(strcmp)
+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