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/locale/locale.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libc/misc/locale') diff --git a/libc/misc/locale/locale.c b/libc/misc/locale/locale.c index c1f91bcee..71bd77951 100644 --- a/libc/misc/locale/locale.c +++ b/libc/misc/locale/locale.c @@ -194,7 +194,7 @@ static const char utf8[] = "UTF-8"; static char hr_locale[(MAX_LOCALE_CATEGORY_STR * LC_ALL) + MAX_LOCALE_STR]; /* Experimentally off - libc_hidden_proto(stpcpy) */ -libc_hidden_proto(newlocale) +/* libc_hidden_proto(newlocale) */ static void update_hr_locale(const unsigned char *spec) { @@ -303,7 +303,7 @@ char *setlocale(int category, const char *locale) * placement of the fields in the struct. If necessary, we could ensure * this usings an array of offsets but at some size cost. */ -libc_hidden_proto(localeconv) +/* libc_hidden_proto(localeconv) */ #ifdef __LOCALE_C_ONLY @@ -369,7 +369,7 @@ libc_hidden_def(localeconv) #ifndef __UCLIBC_HAS_XLOCALE__ /* libc_hidden_proto(__ctype_b) */ /* libc_hidden_proto(__ctype_tolower) */ -libc_hidden_proto(__ctype_toupper) +/* libc_hidden_proto(__ctype_toupper) */ #endif __uclibc_locale_t __global_locale_data; @@ -1026,7 +1026,7 @@ static const unsigned char nl_data[C_LC_ALL + 1 + 90 + 320] = { ']', '\x00', '^', '[', 'n', 'N', ']', '\x00', }; -libc_hidden_proto(nl_langinfo) +/* libc_hidden_proto(nl_langinfo) */ char *nl_langinfo(nl_item item) { unsigned int c; @@ -1046,9 +1046,9 @@ libc_hidden_def(nl_langinfo) #if defined(__UCLIBC_HAS_XLOCALE__) && !defined(__UCLIBC_DO_XLOCALE) -libc_hidden_proto(nl_langinfo) +/* libc_hidden_proto(nl_langinfo) */ -libc_hidden_proto(nl_langinfo_l) +/* libc_hidden_proto(nl_langinfo_l) */ char *nl_langinfo(nl_item item) { @@ -1085,7 +1085,7 @@ libc_hidden_def(__XL_NPP(nl_langinfo)) #ifdef L_newlocale /* Experimentally off - libc_hidden_proto(stpcpy) */ -libc_hidden_proto(newlocale) +/* libc_hidden_proto(newlocale) */ #ifdef __UCLIBC_MJN3_ONLY__ #warning TODO: Move posix and utf8 strings. @@ -1330,7 +1330,7 @@ libc_hidden_def(newlocale) /**********************************************************************/ #ifdef L_duplocale -libc_hidden_proto(duplocale) +/* libc_hidden_proto(duplocale) */ #ifdef __UCLIBC_MJN3_ONLY__ #warning REMINDER: When we allocate ctype tables, remember to dup them. -- cgit v1.2.3