summaryrefslogtreecommitdiff
path: root/libc/string/generic/memchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/generic/memchr.c')
-rw-r--r--libc/string/generic/memchr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/string/generic/memchr.c b/libc/string/generic/memchr.c
index bc0623f3f..68c820814 100644
--- a/libc/string/generic/memchr.c
+++ b/libc/string/generic/memchr.c
@@ -29,8 +29,6 @@
#define LONG_MAX_32_BITS 2147483647
-#undef memchr
-
/* Search no more than N bytes of S for C. */
void attribute_hidden *__memchr (const void * s, int c_in, size_t n)
{
@@ -174,4 +172,4 @@ void attribute_hidden *__memchr (const void * s, int c_in, size_t n)
return 0;
}
-strong_alias(__memchr, memchr)
+strong_alias(__memchr,memchr)