summaryrefslogtreecommitdiff
path: root/wctype
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-10 23:54:24 +0000
committerRoland McGrath <roland@gnu.org>2002-08-10 23:54:24 +0000
commit0752d00848022cdb532a4b548997811e34530af3 (patch)
tree3dedda867ac5438701475cecbeeb9a108762da45 /wctype
parentfb2bc93c76d416c3af4c99016c307b2358968121 (diff)
2002-08-09 Jakub Jelinek <jakub@redhat.com>
* 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.
Diffstat (limited to 'wctype')
-rw-r--r--wctype/wcfuncs.c16
1 files 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);