aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/memchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/memchr.c')
-rw-r--r--sysdeps/generic/memchr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/generic/memchr.c b/sysdeps/generic/memchr.c
index 60bd8c6..a616daa 100644
--- a/sysdeps/generic/memchr.c
+++ b/sysdeps/generic/memchr.c
@@ -50,13 +50,14 @@
#endif
#include <sys/types.h>
+#include <bp-sym.h>
#undef memchr
/* Search no more than N bytes of S for C. */
__ptr_t
-memchr (s, c_in, n)
+__memchr (s, c_in, n)
const __ptr_t s;
int c_in;
size_t n;
@@ -200,3 +201,4 @@ memchr (s, c_in, n)
return 0;
}
+weak_alias (__memrchr, BP_SYM (memrchr))