diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-03 14:46:56 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-03 14:46:56 +0000 |
commit | fe68563b9a070fedf117c8738652587945427bb3 (patch) | |
tree | 300a37bb5f0cd28a984900d8e48925de2478fd1e /libc/string/generic/strchr.c | |
parent | 8356ff4a52a5df7e5e84ac13f7dad7c29e0bda9c (diff) |
Use strong_alias everywhere instead of .global/.set. Correct some cases where the non-hidden version was used.
Diffstat (limited to 'libc/string/generic/strchr.c')
-rw-r--r-- | libc/string/generic/strchr.c | 6 |
1 files changed, 2 insertions, 4 deletions
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) |