diff options
author | ache <ache@FreeBSD.org> | 1995-04-07 09:56:10 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-04-07 09:56:10 +0000 |
commit | 9a3aa41f7b77a451350cdbcda0c65c5ed8af5300 (patch) | |
tree | 2e985b8045da4a18d28367f30455528489b7711b | |
parent | ed48c160925faf34992724d802fbcf7de44b279f (diff) | |
download | FreeBSD-src-9a3aa41f7b77a451350cdbcda0c65c5ed8af5300.zip FreeBSD-src-9a3aa41f7b77a451350cdbcda0c65c5ed8af5300.tar.gz |
Move inline args out of user namespace.
Obtained from: 1.x
-rw-r--r-- | include/_ctype.h | 40 | ||||
-rw-r--r-- | include/ctype.h | 40 |
2 files changed, 40 insertions, 40 deletions
diff --git a/include/_ctype.h b/include/_ctype.h index 671c107..079c4b9 100644 --- a/include/_ctype.h +++ b/include/_ctype.h @@ -104,41 +104,41 @@ __END_DECLS #if defined(_USE_CTYPE_INLINE_) static __inline int -__istype(_BSD_RUNE_T_ c, unsigned long f) +__istype(_BSD_RUNE_T_ __c, unsigned long __f) { - if (c < 0) - c = (unsigned char) c; - return((((c & _CRMASK) ? ___runetype(c) : - _CurrentRuneLocale->runetype[c]) & f) ? 1 : 0); + if (__c < 0) + __c = (unsigned char) __c; + return((((__c & _CRMASK) ? ___runetype(__c) : + _CurrentRuneLocale->runetype[__c]) & __f) ? 1 : 0); } static __inline int -__isctype(_BSD_RUNE_T_ c, unsigned long f) +__isctype(_BSD_RUNE_T_ __c, unsigned long __f) { - if (c < 0) - c = (unsigned char) c; - return((((c & _CRMASK) ? 0 : - _DefaultRuneLocale.runetype[c]) & f) ? 1 : 0); + if (__c < 0) + __c = (unsigned char) __c; + return((((__c & _CRMASK) ? 0 : + _DefaultRuneLocale.runetype[__c]) & __f) ? 1 : 0); } /* _ANSI_LIBRARY is defined by lib/libc/gen/isctype.c. */ #if !defined(_ANSI_LIBRARY) static __inline _BSD_RUNE_T_ -toupper(_BSD_RUNE_T_ c) +toupper(_BSD_RUNE_T_ __c) { - if (c < 0) - c = (unsigned char) c; - return((c & _CRMASK) ? - ___toupper(c) : _CurrentRuneLocale->mapupper[c]); + if (__c < 0) + __c = (unsigned char) __c; + return((__c & _CRMASK) ? + ___toupper(__c) : _CurrentRuneLocale->mapupper[__c]); } static __inline _BSD_RUNE_T_ -tolower(_BSD_RUNE_T_ c) +tolower(_BSD_RUNE_T_ __c) { - if (c < 0) - c = (unsigned char) c; - return((c & _CRMASK) ? - ___tolower(c) : _CurrentRuneLocale->maplower[c]); + if (__c < 0) + __c = (unsigned char) __c; + return((__c & _CRMASK) ? + ___tolower(__c) : _CurrentRuneLocale->maplower[__c]); } #endif /* !_ANSI_LIBRARY */ diff --git a/include/ctype.h b/include/ctype.h index 671c107..079c4b9 100644 --- a/include/ctype.h +++ b/include/ctype.h @@ -104,41 +104,41 @@ __END_DECLS #if defined(_USE_CTYPE_INLINE_) static __inline int -__istype(_BSD_RUNE_T_ c, unsigned long f) +__istype(_BSD_RUNE_T_ __c, unsigned long __f) { - if (c < 0) - c = (unsigned char) c; - return((((c & _CRMASK) ? ___runetype(c) : - _CurrentRuneLocale->runetype[c]) & f) ? 1 : 0); + if (__c < 0) + __c = (unsigned char) __c; + return((((__c & _CRMASK) ? ___runetype(__c) : + _CurrentRuneLocale->runetype[__c]) & __f) ? 1 : 0); } static __inline int -__isctype(_BSD_RUNE_T_ c, unsigned long f) +__isctype(_BSD_RUNE_T_ __c, unsigned long __f) { - if (c < 0) - c = (unsigned char) c; - return((((c & _CRMASK) ? 0 : - _DefaultRuneLocale.runetype[c]) & f) ? 1 : 0); + if (__c < 0) + __c = (unsigned char) __c; + return((((__c & _CRMASK) ? 0 : + _DefaultRuneLocale.runetype[__c]) & __f) ? 1 : 0); } /* _ANSI_LIBRARY is defined by lib/libc/gen/isctype.c. */ #if !defined(_ANSI_LIBRARY) static __inline _BSD_RUNE_T_ -toupper(_BSD_RUNE_T_ c) +toupper(_BSD_RUNE_T_ __c) { - if (c < 0) - c = (unsigned char) c; - return((c & _CRMASK) ? - ___toupper(c) : _CurrentRuneLocale->mapupper[c]); + if (__c < 0) + __c = (unsigned char) __c; + return((__c & _CRMASK) ? + ___toupper(__c) : _CurrentRuneLocale->mapupper[__c]); } static __inline _BSD_RUNE_T_ -tolower(_BSD_RUNE_T_ c) +tolower(_BSD_RUNE_T_ __c) { - if (c < 0) - c = (unsigned char) c; - return((c & _CRMASK) ? - ___tolower(c) : _CurrentRuneLocale->maplower[c]); + if (__c < 0) + __c = (unsigned char) __c; + return((__c & _CRMASK) ? + ___tolower(__c) : _CurrentRuneLocale->maplower[__c]); } #endif /* !_ANSI_LIBRARY */ |