summaryrefslogtreecommitdiff
path: root/libc/string/strncmp.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-05-30 09:36:10 +0000
committerMike Frysinger <vapier@gentoo.org>2006-05-30 09:36:10 +0000
commit497654c7103fa4a1dcdb91c51c5a5fa5b2f92b93 (patch)
treeb526e1d47c9bec3d278674bad3da1c13f3a944d5 /libc/string/strncmp.c
parent4fcc031a7085a47b9a027a20a919574f8aab0768 (diff)
Qunying Pan writes: Make strncmp weak hidden to fix link failures in building gdb and binutils statically
Diffstat (limited to 'libc/string/strncmp.c')
-rw-r--r--libc/string/strncmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/strncmp.c b/libc/string/strncmp.c
index 7305cbaa5..8cebaacac 100644
--- a/libc/string/strncmp.c
+++ b/libc/string/strncmp.c
@@ -38,5 +38,5 @@ int Wstrncmp(register const Wchar *s1, register const Wchar *s2, size_t n)
#endif
}
#ifndef WANT_WIDE
-libc_hidden_def(strncmp)
+libc_hidden_weak(strncmp)
#endif