summaryrefslogtreecommitdiff
path: root/libc/string/generic/memchr.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-12-22 06:28:23 +0000
committerMike Frysinger <vapier@gentoo.org>2007-12-22 06:28:23 +0000
commite11c3011b10ada67c68d2d43a56fe606d35ca507 (patch)
tree4a39a35f393e83791cc9398bac7ae0d621f8679d /libc/string/generic/memchr.c
parent840bd4dfeaa936ec45fe53960ad79609cea2b225 (diff)
mark a bunch of public mem/str functions as weak so that people who insist on their own local copies while static linking dont hit link failures when other uClibc code force the libc.a objects to be pulled in via the hidden alias symbols
Diffstat (limited to 'libc/string/generic/memchr.c')
-rw-r--r--libc/string/generic/memchr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/generic/memchr.c b/libc/string/generic/memchr.c
index 4bda5d758..4b40e4d65 100644
--- a/libc/string/generic/memchr.c
+++ b/libc/string/generic/memchr.c
@@ -174,4 +174,4 @@ void *memchr (const void * s, int c_in, size_t n)
return 0;
}
-libc_hidden_def(memchr)
+libc_hidden_weak(memchr)