summaryrefslogtreecommitdiff
path: root/firmware/include/ctype.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-02-22 21:24:09 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-02-22 21:24:09 +0000
commit0b7dcd69c801a7439de5bfc53ae4005ec3846634 (patch)
tree42e62d3eec4ec49c7fd95ff01d5ca7d015c6fd45 /firmware/include/ctype.h
parent3f5f3524d478743a4c2f470f0baf7b767ce8d1c2 (diff)
downloadrockbox-0b7dcd69c801a7439de5bfc53ae4005ec3846634.tar.gz
rockbox-0b7dcd69c801a7439de5bfc53ae4005ec3846634.zip
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
Diffstat (limited to 'firmware/include/ctype.h')
-rw-r--r--firmware/include/ctype.h46
1 files changed, 23 insertions, 23 deletions
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));
27int _EXFUN(_toupper, (int __c)); 27int _EXFUN(_toupper, (int __c));
28#endif 28#endif
29 29
30#define _U 01 30#define _U 01
31#define _L 02 31#define _L 02
32#define _N 04 32#define _N 04
33#define _S 010 33#define _S 010
34#define _P 020 34#define _P 020
35#define _C 040 35#define _C 040
36#define _X 0100 36#define _X 0100
37#define _B 0200 37#define _B 0200
38 38
39#ifdef PLUGIN 39#ifdef PLUGIN
40#define _ctype_ (rb->_rbctype_) 40#define _ctype_ (rb->_rbctype_)
@@ -43,30 +43,30 @@ extern const unsigned char _ctype_[257];
43#endif 43#endif
44 44
45#ifndef __cplusplus 45#ifndef __cplusplus
46#define isalpha(c) ((_ctype_+1)[(unsigned char)(c)]&(_U|_L)) 46#define isalpha(c) ((_ctype_+1)[(unsigned char)(c)]&(_U|_L))
47#define isupper(c) ((_ctype_+1)[(unsigned char)(c)]&_U) 47#define isupper(c) ((_ctype_+1)[(unsigned char)(c)]&_U)
48#define islower(c) ((_ctype_+1)[(unsigned char)(c)]&_L) 48#define islower(c) ((_ctype_+1)[(unsigned char)(c)]&_L)
49#define isdigit(c) ((_ctype_+1)[(unsigned char)(c)]&_N) 49#define isdigit(c) ((_ctype_+1)[(unsigned char)(c)]&_N)
50#define isxdigit(c) ((_ctype_+1)[(unsigned char)(c)]&(_X|_N)) 50#define isxdigit(c) ((_ctype_+1)[(unsigned char)(c)]&(_X|_N))
51#define isspace(c) ((_ctype_+1)[(unsigned char)(c)]&_S) 51#define isspace(c) ((_ctype_+1)[(unsigned char)(c)]&_S)
52#define ispunct(c) ((_ctype_+1)[(unsigned char)(c)]&_P) 52#define ispunct(c) ((_ctype_+1)[(unsigned char)(c)]&_P)
53#define isalnum(c) ((_ctype_+1)[(unsigned char)(c)]&(_U|_L|_N)) 53#define isalnum(c) ((_ctype_+1)[(unsigned char)(c)]&(_U|_L|_N))
54#define isprint(c) ((_ctype_+1)[(unsigned char)(c)]&(_P|_U|_L|_N|_B)) 54#define isprint(c) ((_ctype_+1)[(unsigned char)(c)]&(_P|_U|_L|_N|_B))
55#define isgraph(c) ((_ctype_+1)[(unsigned char)(c)]&(_P|_U|_L|_N)) 55#define isgraph(c) ((_ctype_+1)[(unsigned char)(c)]&(_P|_U|_L|_N))
56#define iscntrl(c) ((_ctype_+1)[(unsigned char)(c)]&_C) 56#define iscntrl(c) ((_ctype_+1)[(unsigned char)(c)]&_C)
57/* Non-gcc versions will get the library versions, and will be 57/* Non-gcc versions will get the library versions, and will be
58 slightly slower */ 58 slightly slower */
59#ifdef __GNUC__ 59#ifdef __GNUC__
60# define toupper(c) \ 60# define toupper(c) \
61 __extension__ ({ int __x = (unsigned char) (c); islower(__x) ? (__x - 'a' + 'A') : __x;}) 61 __extension__ ({ int __x = (unsigned char) (c); islower(__x) ? (__x - 'a' + 'A') : __x;})
62# define tolower(c) \ 62# define tolower(c) \
63 __extension__ ({ int __x = (unsigned char) (c); isupper(__x) ? (__x - 'A' + 'a') : __x;}) 63 __extension__ ({ int __x = (unsigned char) (c); isupper(__x) ? (__x - 'A' + 'a') : __x;})
64#endif 64#endif
65#endif /* !__cplusplus */ 65#endif /* !__cplusplus */
66 66
67#ifndef __STRICT_ANSI__ 67#ifndef __STRICT_ANSI__
68#define isascii(c) ((unsigned char)(c)<=0177) 68#define isascii(c) ((unsigned char)(c)<=0177)
69#define toascii(c) ((c)&0177) 69#define toascii(c) ((c)&0177)
70#endif 70#endif
71 71
72#ifdef __cplusplus 72#ifdef __cplusplus