diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-14 22:57:45 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-14 22:57:45 +0000 |
commit | f8703c6453b64fd74354a0851f6fb05795c31956 (patch) | |
tree | 252885111008043b1682496df58e46cbcd93d480 /libc/string/generic/strrchr.c | |
parent | 032a3e76d290c776e26ae6c0a68e8b19885a68aa (diff) |
Move to use attribute_hidden
Diffstat (limited to 'libc/string/generic/strrchr.c')
-rw-r--r-- | libc/string/generic/strrchr.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libc/string/generic/strrchr.c b/libc/string/generic/strrchr.c index 8f815e9ff..bde4d4da0 100644 --- a/libc/string/generic/strrchr.c +++ b/libc/string/generic/strrchr.c @@ -21,8 +21,7 @@ #undef strrchr /* Find the last occurrence of C in S. */ -char * -strrchr (const char *s, int c) +char attribute_hidden *__strrchr (const char *s, int c) { register const char *found, *p; @@ -43,7 +42,6 @@ strrchr (const char *s, int c) return (char *) found; } -#ifdef weak_alias -#undef rindex +strong_alias(__strrchr, strrchr) + weak_alias (strrchr, rindex) -#endif |