From 497654c7103fa4a1dcdb91c51c5a5fa5b2f92b93 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 30 May 2006 09:36:10 +0000 Subject: Qunying Pan writes: Make strncmp weak hidden to fix link failures in building gdb and binutils statically --- libc/string/i386/strncmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/string/i386') diff --git a/libc/string/i386/strncmp.c b/libc/string/i386/strncmp.c index 0c42134e1..d716789c3 100644 --- a/libc/string/i386/strncmp.c +++ b/libc/string/i386/strncmp.c @@ -55,4 +55,4 @@ int strncmp(const char *cs, const char *ct, size_t count) :"1" (cs),"2" (ct),"3" (count)); return __res; } -libc_hidden_def(strncmp) +libc_hidden_weak(strncmp) -- cgit v1.2.3