From fe68563b9a070fedf117c8738652587945427bb3 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 3 Jan 2006 14:46:56 +0000 Subject: Use strong_alias everywhere instead of .global/.set. Correct some cases where the non-hidden version was used. --- libc/string/generic/strchr.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libc/string/generic/strchr.c') diff --git a/libc/string/generic/strchr.c b/libc/string/generic/strchr.c index c776380e2..dcb30ad7b 100644 --- a/libc/string/generic/strchr.c +++ b/libc/string/generic/strchr.c @@ -26,8 +26,6 @@ #include "memcopy.h" -#undef strchr - /* Find the first occurrence of C in S. */ char attribute_hidden *__strchr (const char *s, int c_in) { @@ -181,6 +179,6 @@ char attribute_hidden *__strchr (const char *s, int c_in) return NULL; } -strong_alias(__strchr, strchr) +strong_alias(__strchr,strchr) -weak_alias(strchr, index) +strong_alias(__strchr,index) -- cgit v1.2.3