From 5656e2948f2afcf5ace45b01ac2589ded742e6d3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 10 Aug 2002 07:54:55 +0000 Subject: * include/bits/dlfcn.h: New file. * elf/dl-profstub.c (_dl_mcount_wrapper_check): Add libc_hidden_def. * include/grp.h (_nss_files_parse_grent): Add libc_hidden_proto. * include/netinet/ether.h (_nss_files_parse_etherent): Likewise. * include/rpc/netdb.h (_nss_files_parse_rpcent): Likewise. * include/pwd.h (_nss_files_parse_pwent): Likewise. * include/shadow.h (_nss_files_parse_spent): Likewise. * include/netdb.h (_nss_files_parse_protoent, _nss_files_parse_servent, _nss_files_parse_netent): Likewise. * nss/nss_files/files-parse.c (nss_files_parse_hidden_def): Define. (LINE_PARSER): Use it. * nss/nsswitch.h (__nss_hostname_digits_dots): Add libc_hidden_proto. * nss/digits_dots.c (__nss_hostname_digits_dots): Add libc_hidden_def. * include/wctype.h (iswalpha, iswdigit, iswlower, iswspace, iswxdigit, towlower, towupper): Add prototypes here too. Add libc_hidden_proto. * wctype/wcfuncs ((iswalpha, iswdigit, iswlower, iswspace, iswxdigit, towlower, towupper): Add libc_hidden_weak. * libio/oldiopopen.c: Move #if SHLIB_COMPAT after _IO_HAVE_SYS_WAIT #endif. * manual/debug.texi (%MENU%): Remove trailing dot. Reported by . --- include/wctype.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'include/wctype.h') diff --git a/include/wctype.h b/include/wctype.h index 5f818decaa..d094d624c5 100644 --- a/include/wctype.h +++ b/include/wctype.h @@ -1,5 +1,37 @@ #ifndef _WCTYPE_H +/* We try to get wint_t from , but not all GCC versions define it + there. So define it ourselves if it remains undefined. */ +# define __need_wint_t +# include +# ifndef _WINT_T +/* Integral type unchanged by default argument promotions that can + hold any value corresponding to members of the extended character + set, as well as at least one value that does not correspond to any + member of the extended character set. */ +# define _WINT_T +typedef unsigned int wint_t; +# endif + +/* Need to repeat these prototypes here, as wctype/wctype.h defines all + these as macros and thus we couldn't add libc_hidden_proto. */ + +extern int iswalpha (wint_t __wc); +extern int iswdigit (wint_t __wc); +extern int iswlower (wint_t __wc); +extern int iswspace (wint_t __wc); +extern int iswxdigit (wint_t __wc); +extern wint_t towlower (wint_t __wc); +extern wint_t towupper (wint_t __wc); + +libc_hidden_proto (iswalpha) +libc_hidden_proto (iswdigit) +libc_hidden_proto (iswlower) +libc_hidden_proto (iswspace) +libc_hidden_proto (iswxdigit) +libc_hidden_proto (towlower) +libc_hidden_proto (towupper) + #include /* Internal interfaces. */ -- cgit v1.2.3