From ddc1eded85352aaaea972947cbf133d0ded34d53 Mon Sep 17 00:00:00 2001 From: "Tim J. Robbins" Date: Wed, 23 Jun 2004 07:01:44 +0000 Subject: Prefix the names of members of _RuneLocale and its sub-structures with ``__'' to avoid polluting the namespace. This doesn't change the documented rune interface at all, but breaks applications that accessed _RuneLocale directly. --- include/ctype.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/ctype.h') diff --git a/include/ctype.h b/include/ctype.h index 6985410c1425..7ab3bbfd7c02 100644 --- a/include/ctype.h +++ b/include/ctype.h @@ -190,7 +190,7 @@ static __inline int __maskrune(__ct_rune_t _c, unsigned long _f) { return ((_c < 0 || _c >= _CACHED_RUNES) ? ___runetype(_c) : - _CurrentRuneLocale->runetype[_c]) & _f; + _CurrentRuneLocale->__runetype[_c]) & _f; } static __inline int @@ -203,21 +203,21 @@ static __inline int __isctype(__ct_rune_t _c, unsigned long _f) { return (_c < 0 || _c >= _CACHED_RUNES) ? 0 : - !!(_DefaultRuneLocale.runetype[_c] & _f); + !!(_DefaultRuneLocale.__runetype[_c] & _f); } static __inline __ct_rune_t __toupper(__ct_rune_t _c) { return (_c < 0 || _c >= _CACHED_RUNES) ? ___toupper(_c) : - _CurrentRuneLocale->mapupper[_c]; + _CurrentRuneLocale->__mapupper[_c]; } static __inline __ct_rune_t __tolower(__ct_rune_t _c) { return (_c < 0 || _c >= _CACHED_RUNES) ? ___tolower(_c) : - _CurrentRuneLocale->maplower[_c]; + _CurrentRuneLocale->__maplower[_c]; } #else /* not using inlines */ -- cgit v1.2.3