summaryrefslogtreecommitdiff
path: root/libc/string/generic/rawmemchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/generic/rawmemchr.c')
-rw-r--r--libc/string/generic/rawmemchr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/string/generic/rawmemchr.c b/libc/string/generic/rawmemchr.c
index 0e2ac1c7e..02cb8f629 100644
--- a/libc/string/generic/rawmemchr.c
+++ b/libc/string/generic/rawmemchr.c
@@ -32,7 +32,7 @@
#undef rawmemchr
/* Find the first occurrence of C in S. */
-void *rawmemchr (const void * s, int c_in)
+void attribute_hidden *__rawmemchr (const void * s, int c_in)
{
const unsigned char *char_ptr;
const unsigned long int *longword_ptr;
@@ -158,3 +158,5 @@ void *rawmemchr (const void * s, int c_in)
}
}
}
+
+strong_alias(__rawmemchr, rawmemchr)