summaryrefslogtreecommitdiff
path: root/libc/string/strncasecmp.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-05-31 10:48:50 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-05-31 10:48:50 +0000
commit6a57f013cf10ef19ffa9ea4e14af485d60b631a9 (patch)
tree11e0604578b85d53fc13881b03591aff850b13dd /libc/string/strncasecmp.c
parent4668e42b904c505ff67817314247631c85872f52 (diff)
fix fallout from string.h libc_hidden_proto removal
Diffstat (limited to 'libc/string/strncasecmp.c')
-rw-r--r--libc/string/strncasecmp.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libc/string/strncasecmp.c b/libc/string/strncasecmp.c
index bc0481fb2..fea9006cb 100644
--- a/libc/string/strncasecmp.c
+++ b/libc/string/strncasecmp.c
@@ -13,6 +13,8 @@
#ifdef WANT_WIDE
# define strncasecmp wcsncasecmp
# define strncasecmp_l wcsncasecmp_l
+libc_hidden_proto(wcsncasecmp)
+libc_hidden_proto(wcsncasecmp_l)
# ifdef __UCLIBC_DO_XLOCALE
libc_hidden_proto(towlower_l)
# define TOLOWER(C) towlower_l((C), locale_arg)
@@ -21,6 +23,8 @@ libc_hidden_proto(towlower)
# define TOLOWER(C) towlower((C))
# endif
#else
+/* Experimentally off - libc_hidden_proto(strncasecmp) */
+/* Experimentally off - libc_hidden_proto(strncasecmp_l) */
# ifdef __UCLIBC_DO_XLOCALE
libc_hidden_proto(tolower_l)
# define TOLOWER(C) tolower_l((C), locale_arg)
@@ -35,9 +39,6 @@ libc_hidden_proto(tolower)
#if defined(__UCLIBC_HAS_XLOCALE__) && !defined(__UCLIBC_DO_XLOCALE)
-/* Experimentally off - libc_hidden_proto(strncasecmp_l) */
-
-/* Experimentally off - 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);
@@ -46,7 +47,7 @@ libc_hidden_def(strncasecmp)
#else /* defined(__UCLIBC_HAS_XLOCALE__) && !defined(__UCLIBC_DO_XLOCALE) */
-libc_hidden_proto(__XL_NPP(strncasecmp))
+/* Experimentally off - libc_hidden_proto(__XL_NPP(strncasecmp)) */
int __XL_NPP(strncasecmp)(register const Wchar *s1, register const Wchar *s2,
size_t n __LOCALE_PARAM )
{