diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/string/arm/strncmp.S | 2 | ||||
-rw-r--r-- | libc/string/generic/strncmp.c | 2 | ||||
-rw-r--r-- | libc/string/i386/strncmp.c | 2 | ||||
-rw-r--r-- | libc/string/ia64/strncmp.S | 2 | ||||
-rw-r--r-- | libc/string/strncmp.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/libc/string/arm/strncmp.S b/libc/string/arm/strncmp.S index d6b36312a..eaf0620b4 100644 --- a/libc/string/arm/strncmp.S +++ b/libc/string/arm/strncmp.S @@ -65,4 +65,4 @@ strncmp: .size strncmp,.-strncmp -libc_hidden_def(strncmp) +libc_hidden_weak(strncmp) diff --git a/libc/string/generic/strncmp.c b/libc/string/generic/strncmp.c index 4c1978439..12e0e4d17 100644 --- a/libc/string/generic/strncmp.c +++ b/libc/string/generic/strncmp.c @@ -65,4 +65,4 @@ int strncmp (const char *s1, const char *s2, size_t n) return c1 - c2; } -libc_hidden_def(strncmp) +libc_hidden_weak(strncmp) 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) diff --git a/libc/string/ia64/strncmp.S b/libc/string/ia64/strncmp.S index 74011650c..8e0373c7f 100644 --- a/libc/string/ia64/strncmp.S +++ b/libc/string/ia64/strncmp.S @@ -59,4 +59,4 @@ ENTRY(strncmp) .restore_and_exit: br.ret.sptk.many b0 END(strncmp) -libc_hidden_def (strncmp) +libc_hidden_weak (strncmp) 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 |