diff options
author | tjr <tjr@FreeBSD.org> | 2004-06-23 07:01:44 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2004-06-23 07:01:44 +0000 |
commit | d04fd4700f3a09552b35dfa53c683d0404754383 (patch) | |
tree | d89ed2a150bbb4fcdbff69b2c14d5d87b5dfbdfe /include/ctype.h | |
parent | 663370f9413d6ac8d722e85a009c71e6c321fdc0 (diff) | |
download | FreeBSD-src-d04fd4700f3a09552b35dfa53c683d0404754383.zip FreeBSD-src-d04fd4700f3a09552b35dfa53c683d0404754383.tar.gz |
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.
Diffstat (limited to 'include/ctype.h')
-rw-r--r-- | include/ctype.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/ctype.h b/include/ctype.h index 6985410..7ab3bbf 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 */ |