2002-09-01 Roland McGrath <roland@redhat.com>
authorroland <roland>
Sun, 1 Sep 2002 12:38:04 +0000 (12:38 +0000)
committerroland <roland>
Sun, 1 Sep 2002 12:38:04 +0000 (12:38 +0000)
commit6d95ad53d99210c7aea95cb3ef988672033113b5
tree5526a6e409a3ad97631676c1db7505e2bb8d8c1f
parent04d38ecdb8ea1e8cf667f9772b4bf96534995fa3
2002-09-01  Roland McGrath  <roland@redhat.com>

* wctype/wctype.h (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower,
iswgraph, iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank,
towlower, towupper): Macros removed.
* ctype/ctype.h (__tobody): Put parens around macro argument.
(__isctype): Macro removed.
(__ctype_b, __ctype_tolower, __ctype_toupper): Decls removed.
(isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint,
ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper,
tolower, toupper): Macros and inlines removed.
* include/ctype.h [! NOT_IN_libc]
(isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint,
ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper,
tolower, toupper): Define here instead, using _NL_CURRENT.
* ctype/ctype.c (__ctype_tolower, __ctype_toupper): Define as macros
using _NL_CURRENT.
* ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Likewise.
* ctype/ctype-info.c (__ctype_b, __ctype_tolower, __ctype_toupper):
Renamed these to __ctype_old_*. Define old names only for SHLIB_COMPAT.
(__ctype32_b, __ctype32_tolower, __ctype32_toupper): Likewise.
(__ctype32_wctrans, __ctype32_wctrans, __ctype32_width): Removed.
* locale/lc-ctype.c (_nl_postload_ctype): Use renamed variables,
conditional on SHLIB_COMPAT.  Don't set removed variables at all.
* wctype/wcfuncs.c: Use _NL_CURRENT instead of those globals.
* wcsmbs/wcwidth.h (internal_wcwidth): Likewise.
* resolv/res_init.c [RESOLVSORT] (sort_mask): Renamed sort_mask_chars.
(ISSORTMASK): Update use.
* intl/localealias.c [__GNUC__]: #undef alloca before #define.
* nss/nss_files/files-XXX.c (last_use): Rename `none' to `nouse'.
(_nss_files_getENTNAME_r): Likewise.
* nss/nss_files/files-alias.c (last_use, _nss_files_getaliasent_r):
Likewise.
13 files changed:
ctype/ctype-extn.c
ctype/ctype-info.c
ctype/ctype.c
ctype/ctype.h
include/ctype.h
intl/localealias.c
locale/lc-ctype.c
nss/nss_files/files-XXX.c
nss/nss_files/files-alias.c
resolv/res_init.c
wcsmbs/wcwidth.h
wctype/wcfuncs.c
wctype/wctype.h