diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-12-22 06:28:23 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-12-22 06:28:23 +0000 |
commit | e11c3011b10ada67c68d2d43a56fe606d35ca507 (patch) | |
tree | 4a39a35f393e83791cc9398bac7ae0d621f8679d /libc/string/strrchr.c | |
parent | 840bd4dfeaa936ec45fe53960ad79609cea2b225 (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/strrchr.c')
-rw-r--r-- | libc/string/strrchr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/strrchr.c b/libc/string/strrchr.c index 67cafb75a..2bf676d27 100644 --- a/libc/string/strrchr.c +++ b/libc/string/strrchr.c @@ -28,8 +28,8 @@ Wchar *Wstrrchr(register const Wchar *s, Wint c) return (Wchar *) p; /* silence the warning */ } #ifndef WANT_WIDE -libc_hidden_def(strrchr) +libc_hidden_weak(strrchr) # ifdef __UCLIBC_SUSV3_LEGACY__ -strong_alias(strrchr,rindex) +weak_alias(strrchr,rindex) # endif #endif |