summaryrefslogtreecommitdiff
path: root/libc/string/strncasecmp.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-09 21:11:47 +0100
committerPeter S. Mazinger <ps.m@gmx.net>2011-03-09 21:11:47 +0100
commitf4ec824864b8ea68af8953669f789656cc05143d (patch)
tree99a9e7e6b9ae9911c328bcce62408eccd485522a /libc/string/strncasecmp.c
parent98538deba691281535e3dc0839710b8630e02ac8 (diff)
ctype.c, _collate.c, str[n]casecmp.c, strlcpy.c: remove unused hidden functions
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Diffstat (limited to 'libc/string/strncasecmp.c')
-rw-r--r--libc/string/strncasecmp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/string/strncasecmp.c b/libc/string/strncasecmp.c
index 2af305e16..4de01143f 100644
--- a/libc/string/strncasecmp.c
+++ b/libc/string/strncasecmp.c
@@ -31,7 +31,9 @@ int strncasecmp(register const Wchar *s1, register const Wchar *s2, size_t n)
{
return strncasecmp_l(s1, s2, n, __UCLIBC_CURLOCALE);
}
+#ifndef WANT_WIDE
libc_hidden_def(strncasecmp)
+#endif
#else /* defined(__UCLIBC_HAS_XLOCALE__) && !defined(__UCLIBC_DO_XLOCALE) */
@@ -62,6 +64,8 @@ int __XL_NPP(strncasecmp)(register const Wchar *s1, register const Wchar *s2,
return r;
#endif
}
+#ifndef WANT_WIDE
libc_hidden_def(__XL_NPP(strncasecmp))
+#endif
#endif /* defined(__UCLIBC_HAS_XLOCALE__) && !defined(__UCLIBC_DO_XLOCALE) */