summaryrefslogtreecommitdiff
path: root/libc/string/generic/memrchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/generic/memrchr.c')
-rw-r--r--libc/string/generic/memrchr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/string/generic/memrchr.c b/libc/string/generic/memrchr.c
index f4d435e09..3f7583919 100644
--- a/libc/string/generic/memrchr.c
+++ b/libc/string/generic/memrchr.c
@@ -33,7 +33,7 @@
#undef memrchr
/* Search no more than N bytes of S for C. */
-void *memrchr (const void * s, int c_in, size_t n)
+void attribute_hidden *__memrchr (const void * s, int c_in, size_t n)
{
const unsigned char *char_ptr;
const unsigned long int *longword_ptr;
@@ -172,3 +172,5 @@ void *memrchr (const void * s, int c_in, size_t n)
return 0;
}
+
+strong_alias(__memrchr, memrchr)