From cb97aadebfeba7f5e8f1b85beee5ab10e88c2990 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 20 Nov 2008 22:11:44 +0000 Subject: Last portion of libc_hidden_proto removal. Appears to build fine (several .configs tried) --- libc/misc/regex/regcomp.c | 2 +- libc/misc/regex/regex.c | 26 +++++++++++++------------- libc/misc/regex/regex_internal.h | 2 +- libc/misc/regex/regex_old.c | 16 ++++++++-------- 4 files changed, 23 insertions(+), 23 deletions(-) (limited to 'libc/misc/regex') diff --git a/libc/misc/regex/regcomp.c b/libc/misc/regex/regcomp.c index 210ae05ee..0b3b585ce 100644 --- a/libc/misc/regex/regcomp.c +++ b/libc/misc/regex/regcomp.c @@ -806,7 +806,7 @@ re_compile_internal (regex_t *preg, const char * pattern, size_t length, as the initial length of some arrays. */ #ifdef __UCLIBC_HAS_WCHAR__ -libc_hidden_proto(_stdlib_mb_cur_max) +/* libc_hidden_proto(_stdlib_mb_cur_max) */ #endif static reg_errcode_t diff --git a/libc/misc/regex/regex.c b/libc/misc/regex/regex.c index 2dc196782..623a3c6bb 100644 --- a/libc/misc/regex/regex.c +++ b/libc/misc/regex/regex.c @@ -46,17 +46,17 @@ #define __wcrtomb wcrtomb #define __btowc btowc #define __wctype wctype -libc_hidden_proto(wcscoll) -libc_hidden_proto(wcrtomb) -libc_hidden_proto(mbrtowc) -libc_hidden_proto(iswctype) -libc_hidden_proto(iswlower) -libc_hidden_proto(iswalnum) -libc_hidden_proto(towlower) -libc_hidden_proto(towupper) -libc_hidden_proto(mbsinit) -libc_hidden_proto(btowc) -libc_hidden_proto(wctype) +/* libc_hidden_proto(wcscoll) */ +/* libc_hidden_proto(wcrtomb) */ +/* libc_hidden_proto(mbrtowc) */ +/* libc_hidden_proto(iswctype) */ +/* libc_hidden_proto(iswlower) */ +/* libc_hidden_proto(iswalnum) */ +/* libc_hidden_proto(towlower) */ +/* libc_hidden_proto(towupper) */ +/* libc_hidden_proto(mbsinit) */ +/* libc_hidden_proto(btowc) */ +/* libc_hidden_proto(wctype) */ #endif @@ -71,9 +71,9 @@ libc_hidden_proto(wctype) /* libc_hidden_proto(__ctype_toupper_loc) */ #elif defined __UCLIBC_HAS_CTYPE_TABLES__ /* libc_hidden_proto(__ctype_b) */ -libc_hidden_proto(__ctype_toupper) +/* libc_hidden_proto(__ctype_toupper) */ #else -libc_hidden_proto(isascii) +/* libc_hidden_proto(isascii) */ #endif /* libc_hidden_proto(toupper) */ /* libc_hidden_proto(tolower) */ diff --git a/libc/misc/regex/regex_internal.h b/libc/misc/regex/regex_internal.h index 725e33a5a..f0499caf0 100644 --- a/libc/misc/regex/regex_internal.h +++ b/libc/misc/regex/regex_internal.h @@ -29,7 +29,7 @@ #if defined HAVE_LANGINFO_H || defined HAVE_LANGINFO_CODESET || defined _LIBC # include -libc_hidden_proto(nl_langinfo) +/* libc_hidden_proto(nl_langinfo) */ #endif #if defined HAVE_LOCALE_H || defined _LIBC # include diff --git a/libc/misc/regex/regex_old.c b/libc/misc/regex/regex_old.c index e8201e90a..76350fc4e 100644 --- a/libc/misc/regex/regex_old.c +++ b/libc/misc/regex/regex_old.c @@ -75,14 +75,14 @@ /* Solaris 2.5 has a bug: must be included before . */ # include # include -libc_hidden_proto(wcslen) -libc_hidden_proto(mbrtowc) -libc_hidden_proto(wcrtomb) -libc_hidden_proto(wcscoll) -libc_hidden_proto(wctype) -libc_hidden_proto(iswctype) -libc_hidden_proto(iswalnum) -libc_hidden_proto(btowc) +/* libc_hidden_proto(wcslen) */ +/* libc_hidden_proto(mbrtowc) */ +/* libc_hidden_proto(wcrtomb) */ +/* libc_hidden_proto(wcscoll) */ +/* libc_hidden_proto(wctype) */ +/* libc_hidden_proto(iswctype) */ +/* libc_hidden_proto(iswalnum) */ +/* libc_hidden_proto(btowc) */ # endif -- cgit v1.2.3