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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/generic/strrchr.c b/libc/string/generic/strrchr.c
index cf4c6dd3b..b67e369fd 100644
--- a/libc/string/generic/strrchr.c
+++ b/libc/string/generic/strrchr.c
@@ -18,6 +18,7 @@
#include <string.h>
+libc_hidden_proto(strrchr)
libc_hidden_proto(strchr)
/* Find the last occurrence of C in S. */
@@ -41,6 +42,5 @@ char *strrchr (const char *s, int c)
return (char *) found;
}
-libc_hidden_proto(strrchr)
libc_hidden_def(strrchr)
strong_alias(strrchr,rindex)