]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2002-08-09 Jakub Jelinek <jakub@redhat.com>
authorRoland McGrath <roland@gnu.org>
Sat, 10 Aug 2002 23:54:24 +0000 (23:54 +0000)
committerRoland McGrath <roland@gnu.org>
Sat, 10 Aug 2002 23:54:24 +0000 (23:54 +0000)
* 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

index 8dbd5a97e8f29c84e6c58cf34aadc8d5e2c434e7..2595f50da747e4ef2c11f2b85ee2e6085ea01ca3 100644 (file)
@@ -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);