summaryrefslogtreecommitdiff
path: root/libc/string/memrchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/memrchr.c')
-rw-r--r--libc/string/memrchr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/string/memrchr.c b/libc/string/memrchr.c
index fb696bc6d..0bb67b2e5 100644
--- a/libc/string/memrchr.c
+++ b/libc/string/memrchr.c
@@ -7,7 +7,9 @@
#include "_string.h"
-void attribute_hidden *__memrchr(const void *s, int c, size_t n)
+libc_hidden_proto(memrchr)
+
+void *memrchr(const void *s, int c, size_t n)
{
register const unsigned char *r;
#ifdef __BCC__
@@ -30,4 +32,4 @@ void attribute_hidden *__memrchr(const void *s, int c, size_t n)
}
#undef np
-strong_alias(__memrchr,memrchr)
+libc_hidden_def(memrchr)