From 0b7dcd69c801a7439de5bfc53ae4005ec3846634 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Mon, 22 Feb 2010 21:24:09 +0000 Subject: Remove tabs in firmware path (taking into account the original spacing). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24864 a1c6a512-1295-4272-9138-f99709370657 --- firmware/include/ctype.h | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'firmware/include/ctype.h') diff --git a/firmware/include/ctype.h b/firmware/include/ctype.h index 3a04e29ee0..648e06dc5c 100644 --- a/firmware/include/ctype.h +++ b/firmware/include/ctype.h @@ -27,14 +27,14 @@ int _EXFUN(_tolower, (int __c)); int _EXFUN(_toupper, (int __c)); #endif -#define _U 01 -#define _L 02 -#define _N 04 -#define _S 010 -#define _P 020 -#define _C 040 -#define _X 0100 -#define _B 0200 +#define _U 01 +#define _L 02 +#define _N 04 +#define _S 010 +#define _P 020 +#define _C 040 +#define _X 0100 +#define _B 0200 #ifdef PLUGIN #define _ctype_ (rb->_rbctype_) @@ -43,30 +43,30 @@ extern const unsigned char _ctype_[257]; #endif #ifndef __cplusplus -#define isalpha(c) ((_ctype_+1)[(unsigned char)(c)]&(_U|_L)) -#define isupper(c) ((_ctype_+1)[(unsigned char)(c)]&_U) -#define islower(c) ((_ctype_+1)[(unsigned char)(c)]&_L) -#define isdigit(c) ((_ctype_+1)[(unsigned char)(c)]&_N) -#define isxdigit(c) ((_ctype_+1)[(unsigned char)(c)]&(_X|_N)) -#define isspace(c) ((_ctype_+1)[(unsigned char)(c)]&_S) -#define ispunct(c) ((_ctype_+1)[(unsigned char)(c)]&_P) -#define isalnum(c) ((_ctype_+1)[(unsigned char)(c)]&(_U|_L|_N)) -#define isprint(c) ((_ctype_+1)[(unsigned char)(c)]&(_P|_U|_L|_N|_B)) -#define isgraph(c) ((_ctype_+1)[(unsigned char)(c)]&(_P|_U|_L|_N)) -#define iscntrl(c) ((_ctype_+1)[(unsigned char)(c)]&_C) +#define isalpha(c) ((_ctype_+1)[(unsigned char)(c)]&(_U|_L)) +#define isupper(c) ((_ctype_+1)[(unsigned char)(c)]&_U) +#define islower(c) ((_ctype_+1)[(unsigned char)(c)]&_L) +#define isdigit(c) ((_ctype_+1)[(unsigned char)(c)]&_N) +#define isxdigit(c) ((_ctype_+1)[(unsigned char)(c)]&(_X|_N)) +#define isspace(c) ((_ctype_+1)[(unsigned char)(c)]&_S) +#define ispunct(c) ((_ctype_+1)[(unsigned char)(c)]&_P) +#define isalnum(c) ((_ctype_+1)[(unsigned char)(c)]&(_U|_L|_N)) +#define isprint(c) ((_ctype_+1)[(unsigned char)(c)]&(_P|_U|_L|_N|_B)) +#define isgraph(c) ((_ctype_+1)[(unsigned char)(c)]&(_P|_U|_L|_N)) +#define iscntrl(c) ((_ctype_+1)[(unsigned char)(c)]&_C) /* Non-gcc versions will get the library versions, and will be slightly slower */ #ifdef __GNUC__ # define toupper(c) \ - __extension__ ({ int __x = (unsigned char) (c); islower(__x) ? (__x - 'a' + 'A') : __x;}) + __extension__ ({ int __x = (unsigned char) (c); islower(__x) ? (__x - 'a' + 'A') : __x;}) # define tolower(c) \ - __extension__ ({ int __x = (unsigned char) (c); isupper(__x) ? (__x - 'A' + 'a') : __x;}) + __extension__ ({ int __x = (unsigned char) (c); isupper(__x) ? (__x - 'A' + 'a') : __x;}) #endif #endif /* !__cplusplus */ #ifndef __STRICT_ANSI__ -#define isascii(c) ((unsigned char)(c)<=0177) -#define toascii(c) ((c)&0177) +#define isascii(c) ((unsigned char)(c)<=0177) +#define toascii(c) ((c)&0177) #endif #ifdef __cplusplus -- cgit v1.2.3