diff options
Diffstat (limited to 'wctype')
-rw-r--r-- | wctype/iswctype.c | 2 | ||||
-rw-r--r-- | wctype/wcfuncs_l.c | 9 |
2 files changed, 4 insertions, 7 deletions
diff --git a/wctype/iswctype.c b/wctype/iswctype.c index 9a13861a8b..567b9f4fbb 100644 --- a/wctype/iswctype.c +++ b/wctype/iswctype.c @@ -34,5 +34,5 @@ __iswctype (wint_t wc, wctype_t desc) return wctype_table_lookup ((const char *) desc, wc); } -INTDEF(__iswctype) +libc_hidden_def (__iswctype) weak_alias (__iswctype, iswctype) diff --git a/wctype/wcfuncs_l.c b/wctype/wcfuncs_l.c index ff85b9814c..df6b9dfd43 100644 --- a/wctype/wcfuncs_l.c +++ b/wctype/wcfuncs_l.c @@ -24,11 +24,6 @@ #define USE_IN_EXTENDED_LOCALE_MODEL #include "wchar-lookup.h" -#undef __iswalpha_l -#undef __iswdigit_l -#undef __iswspace_l -#undef __iswxdigit_l - /* Provide real-function versions of all the wctype macros. */ #define func(name, type) \ @@ -38,7 +33,7 @@ const char *desc = locale->__locales[LC_CTYPE]->values[i].string; \ return wctype_table_lookup (desc, wc); \ } \ - INTDEF(name) + libc_hidden_def (name) func (__iswalnum_l, __ISwalnum) func (__iswalpha_l, __ISwalpha) @@ -60,6 +55,7 @@ wint_t const char *desc = locale->__locales[LC_CTYPE]->values[i].string; return wctrans_table_lookup (desc, wc); } +libc_hidden_def (__towlower_l) wint_t (__towupper_l) (wint_t wc, __locale_t locale) @@ -68,3 +64,4 @@ wint_t const char *desc = locale->__locales[LC_CTYPE]->values[i].string; return wctrans_table_lookup (desc, wc); } +libc_hidden_def (__towupper_l) |