summaryrefslogtreecommitdiffstats
path: root/libc/string/generic/strchr.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/strchr.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/strchr.c')
-rw-r--r--libc/string/generic/strchr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/string/generic/strchr.c b/libc/string/generic/strchr.c
index 8d401ec8c..66aed1e25 100644
--- a/libc/string/generic/strchr.c
+++ b/libc/string/generic/strchr.c
@@ -24,7 +24,7 @@
#include <string.h>
#include <stdlib.h>
-libc_hidden_proto(strchr)
+/* Experimentally off - libc_hidden_proto(strchr) */
libc_hidden_proto(abort)
#include "memcopy.h"
@@ -181,7 +181,7 @@ char *strchr (const char *s, int c_in)
return NULL;
}
-libc_hidden_def(strchr)
+libc_hidden_weak(strchr)
#ifdef __UCLIBC_SUSV3_LEGACY__
-strong_alias(strchr,index)
+weak_alias(strchr,index)
#endif