From f4ec824864b8ea68af8953669f789656cc05143d Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 9 Mar 2011 21:11:47 +0100 Subject: ctype.c, _collate.c, str[n]casecmp.c, strlcpy.c: remove unused hidden functions Signed-off-by: Peter S. Mazinger --- include/ctype.h | 1 - include/string.h | 1 - include/wchar.h | 5 ----- 3 files changed, 7 deletions(-) (limited to 'include') diff --git a/include/ctype.h b/include/ctype.h index dcfeb1b3e..6ad17a781 100644 --- a/include/ctype.h +++ b/include/ctype.h @@ -354,7 +354,6 @@ libc_hidden_proto(tolower_l) /* Return the uppercase version of C. */ /*extern int __toupper_l (int __c, __locale_t __l) __THROW; */ extern int toupper_l (int __c, __locale_t __l) __THROW; -libc_hidden_proto(toupper_l) # if __GNUC__ >= 2 && defined __OPTIMIZE__ && !defined __cplusplus # define tolower_l(c, locale) __tobody(c, tolower_l, (locale)->__ctype_tolower, (c, locale)) diff --git a/include/string.h b/include/string.h index c71a85c9f..6632e5f4a 100644 --- a/include/string.h +++ b/include/string.h @@ -124,7 +124,6 @@ libc_hidden_proto(strcoll) extern size_t strxfrm (char *__restrict __dest, __const char *__restrict __src, size_t __n) __THROW __nonnull ((2)); -libc_hidden_proto(strxfrm) __END_NAMESPACE_STD #if defined __USE_GNU && defined __UCLIBC_HAS_XLOCALE__ diff --git a/include/wchar.h b/include/wchar.h index 3795998a5..ddbb55912 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -170,12 +170,10 @@ __END_NAMESPACE_C99 #ifdef __USE_GNU /* Compare S1 and S2, ignoring case. */ extern int wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2) __THROW; -libc_hidden_proto(wcscasecmp) /* Compare no more than N chars of S1 and S2, ignoring case. */ extern int wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2, size_t __n) __THROW; -libc_hidden_proto(wcsncasecmp) #ifdef __UCLIBC_HAS_XLOCALE__ /* Similar to the two functions above but take the information from @@ -184,11 +182,9 @@ libc_hidden_proto(wcsncasecmp) extern int wcscasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2, __locale_t __loc) __THROW; -libc_hidden_proto(wcscasecmp_l) extern int wcsncasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2, size_t __n, __locale_t __loc) __THROW; -libc_hidden_proto(wcsncasecmp_l) #endif /* __UCLIBC_HAS_XLOCALE__ */ #endif @@ -202,7 +198,6 @@ libc_hidden_proto(wcscoll) `wcscoll' to the original strings. */ extern size_t wcsxfrm (wchar_t *__restrict __s1, __const wchar_t *__restrict __s2, size_t __n) __THROW; -libc_hidden_proto(wcsxfrm) __END_NAMESPACE_C99 #ifdef __USE_GNU -- cgit v1.2.3