summaryrefslogtreecommitdiff
path: root/libc/string/strchr.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-09 23:20:16 +0100
committerPeter S. Mazinger <ps.m@gmx.net>2011-03-09 23:20:16 +0100
commitabd6c6c29f82ddcc7c86c67519b79d2381622ed9 (patch)
treee856b8ab3c777d488839f0414561466aaa53be84 /libc/string/strchr.c
parent3ec2f90152de3b11266bc0d3f4fa6a41b3c52374 (diff)
remove unused hidden functions
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Diffstat (limited to 'libc/string/strchr.c')
-rw-r--r--libc/string/strchr.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libc/string/strchr.c b/libc/string/strchr.c
index 462b7b1f1..7ea477362 100644
--- a/libc/string/strchr.c
+++ b/libc/string/strchr.c
@@ -23,8 +23,9 @@ Wchar *Wstrchr(register const Wchar *s, Wint c)
return NULL;
}
-libc_hidden_def(Wstrchr)
-
-#if !defined WANT_WIDE && defined __UCLIBC_SUSV3_LEGACY__
+#ifndef WANT_WIDE
+libc_hidden_def(strchr)
+# ifdef __UCLIBC_SUSV3_LEGACY__
weak_alias(strchr,index)
+# endif
#endif