summaryrefslogtreecommitdiff
path: root/libc/string/generic/strrchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/generic/strrchr.c')
-rw-r--r--libc/string/generic/strrchr.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libc/string/generic/strrchr.c b/libc/string/generic/strrchr.c
index 325be7d48..529016ede 100644
--- a/libc/string/generic/strrchr.c
+++ b/libc/string/generic/strrchr.c
@@ -18,8 +18,6 @@
#include <string.h>
-#undef strrchr
-
/* Find the last occurrence of C in S. */
char attribute_hidden *__strrchr (const char *s, int c)
{
@@ -42,6 +40,6 @@ char attribute_hidden *__strrchr (const char *s, int c)
return (char *) found;
}
-strong_alias(__strrchr, strrchr)
+strong_alias(__strrchr,strrchr)
-weak_alias (strrchr, rindex)
+strong_alias (__strrchr,rindex)