From 0752d00848022cdb532a4b548997811e34530af3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 10 Aug 2002 23:54:24 +0000 Subject: 2002-08-09 Jakub Jelinek * include/wctype.h (iswalpha, iswdigit, iswlower, iswspace, iswxdigit, towlower, towupper): Add prototypes here too. Add libc_hidden_proto. * wctype/wcfuncs.c (iswalpha, iswdigit, iswlower, iswspace, iswxdigit, towlower, towupper): Add libc_hidden_weak. --- wctype/wcfuncs.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/wctype/wcfuncs.c b/wctype/wcfuncs.c index 8dbd5a97e8..2595f50da7 100644 --- a/wctype/wcfuncs.c +++ b/wctype/wcfuncs.c @@ -40,17 +40,17 @@ extern const char *__ctype32_wctrans[2] attribute_hidden; func (iswalnum, __ISwalnum) #undef iswalpha func (iswalpha, __ISwalpha) -libc_hidden_def (iswalpha) +libc_hidden_weak (iswalpha) #undef iswblank func (iswblank, __ISwblank) #undef iswcntrl func (iswcntrl, __ISwcntrl) #undef iswdigit func (iswdigit, __ISwdigit) -libc_hidden_def (iswdigit) +libc_hidden_weak (iswdigit) #undef iswlower func (iswlower, __ISwlower) -libc_hidden_def (iswlower) +libc_hidden_weak (iswlower) #undef iswgraph func (iswgraph, __ISwgraph) #undef iswprint @@ -59,23 +59,25 @@ func (iswprint, __ISwprint) func (iswpunct, __ISwpunct) #undef iswspace func (iswspace, __ISwspace) -libc_hidden_def (iswspace) +libc_hidden_weak (iswspace) #undef iswupper func (iswupper, __ISwupper) #undef iswxdigit func (iswxdigit, __ISwxdigit) -libc_hidden_def (iswxdigit) +libc_hidden_weak (iswxdigit) +#undef towlower wint_t -(towlower) (wc) +towlower (wc) wint_t wc; { return wctrans_table_lookup (__ctype32_wctrans[__TOW_tolower], wc); } libc_hidden_def (towlower) +#undef towupper wint_t -(towupper) (wc) +towupper (wc) wint_t wc; { return wctrans_table_lookup (__ctype32_wctrans[__TOW_toupper], wc); -- cgit v1.2.3