diff options
| author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-07 02:32:27 +0000 |
|---|---|---|
| committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-07 02:32:27 +0000 |
| commit | e523bd15353350c3480b8a1820a0944b0fa8212e (patch) | |
| tree | 60485116f9c62c306bb753f12f9d4eb79d16aa4e /libc/string/i386/strcmp.c | |
| parent | 3b3434516a3415d7e0f4e1d50c553876dcb337b2 (diff) | |
| download | uClibc-alpine-e523bd15353350c3480b8a1820a0944b0fa8212e.tar.bz2 uClibc-alpine-e523bd15353350c3480b8a1820a0944b0fa8212e.tar.xz | |
Big fricking merge from trunk.
Diffstat (limited to 'libc/string/i386/strcmp.c')
| -rw-r--r-- | libc/string/i386/strcmp.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/libc/string/i386/strcmp.c b/libc/string/i386/strcmp.c index 3786d5983..f335da646 100644 --- a/libc/string/i386/strcmp.c +++ b/libc/string/i386/strcmp.c @@ -31,9 +31,7 @@ */ #include <string.h> -#include <locale.h> /* for __LOCALE_C_ONLY */ -#undef strcmp int attribute_hidden __strcmp(const char *cs, const char *ct) { int d0, d1; @@ -54,9 +52,9 @@ int attribute_hidden __strcmp(const char *cs, const char *ct) return __res; } -strong_alias(__strcmp, strcmp) +strong_alias(__strcmp,strcmp) -#ifdef __LOCALE_C_ONLY -hidden_strong_alias(__strcmp, __strcoll) -strong_alias(__strcmp, strcoll) -#endif /* __LOCALE_C_ONLY */ +#ifndef __UCLIBC_HAS_LOCALE__ +hidden_strong_alias(__strcmp,__strcoll) +strong_alias(__strcmp,strcoll) +#endif |
