diff options
Diffstat (limited to 'libc/string/strncasecmp.c')
-rw-r--r-- | libc/string/strncasecmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/strncasecmp.c b/libc/string/strncasecmp.c index 1de214c73..2133b4ebd 100644 --- a/libc/string/strncasecmp.c +++ b/libc/string/strncasecmp.c @@ -33,15 +33,16 @@ libc_hidden_proto(tolower) libc_hidden_proto(strncasecmp_l) +libc_hidden_proto(strncasecmp) int strncasecmp(register const Wchar *s1, register const Wchar *s2, size_t n) { return strncasecmp_l(s1, s2, n, __UCLIBC_CURLOCALE); } -libc_hidden_proto(strncasecmp) libc_hidden_def(strncasecmp) #else /* defined(__UCLIBC_HAS_XLOCALE__) && !defined(__UCLIBC_DO_XLOCALE) */ +libc_hidden_proto(__XL_NPP(strncasecmp)) int __XL_NPP(strncasecmp)(register const Wchar *s1, register const Wchar *s2, size_t n __LOCALE_PARAM ) { @@ -69,7 +70,6 @@ int __XL_NPP(strncasecmp)(register const Wchar *s1, register const Wchar *s2, return r; #endif } -libc_hidden_proto(__XL_NPP(strncasecmp)) libc_hidden_def(__XL_NPP(strncasecmp)) #endif /* defined(__UCLIBC_HAS_XLOCALE__) && !defined(__UCLIBC_DO_XLOCALE) */ |