diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /lib/ctype.c |
Linux-2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'lib/ctype.c')
-rw-r--r-- | lib/ctype.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/ctype.c b/lib/ctype.c new file mode 100644 index 00000000000..d02ace14a32 --- /dev/null +++ b/lib/ctype.c | |||
@@ -0,0 +1,36 @@ | |||
1 | /* | ||
2 | * linux/lib/ctype.c | ||
3 | * | ||
4 | * Copyright (C) 1991, 1992 Linus Torvalds | ||
5 | */ | ||
6 | |||
7 | #include <linux/ctype.h> | ||
8 | #include <linux/module.h> | ||
9 | |||
10 | unsigned char _ctype[] = { | ||
11 | _C,_C,_C,_C,_C,_C,_C,_C, /* 0-7 */ | ||
12 | _C,_C|_S,_C|_S,_C|_S,_C|_S,_C|_S,_C,_C, /* 8-15 */ | ||
13 | _C,_C,_C,_C,_C,_C,_C,_C, /* 16-23 */ | ||
14 | _C,_C,_C,_C,_C,_C,_C,_C, /* 24-31 */ | ||
15 | _S|_SP,_P,_P,_P,_P,_P,_P,_P, /* 32-39 */ | ||
16 | _P,_P,_P,_P,_P,_P,_P,_P, /* 40-47 */ | ||
17 | _D,_D,_D,_D,_D,_D,_D,_D, /* 48-55 */ | ||
18 | _D,_D,_P,_P,_P,_P,_P,_P, /* 56-63 */ | ||
19 | _P,_U|_X,_U|_X,_U|_X,_U|_X,_U|_X,_U|_X,_U, /* 64-71 */ | ||
20 | _U,_U,_U,_U,_U,_U,_U,_U, /* 72-79 */ | ||
21 | _U,_U,_U,_U,_U,_U,_U,_U, /* 80-87 */ | ||
22 | _U,_U,_U,_P,_P,_P,_P,_P, /* 88-95 */ | ||
23 | _P,_L|_X,_L|_X,_L|_X,_L|_X,_L|_X,_L|_X,_L, /* 96-103 */ | ||
24 | _L,_L,_L,_L,_L,_L,_L,_L, /* 104-111 */ | ||
25 | _L,_L,_L,_L,_L,_L,_L,_L, /* 112-119 */ | ||
26 | _L,_L,_L,_P,_P,_P,_P,_C, /* 120-127 */ | ||
27 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 128-143 */ | ||
28 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 144-159 */ | ||
29 | _S|_SP,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P, /* 160-175 */ | ||
30 | _P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P, /* 176-191 */ | ||
31 | _U,_U,_U,_U,_U,_U,_U,_U,_U,_U,_U,_U,_U,_U,_U,_U, /* 192-207 */ | ||
32 | _U,_U,_U,_U,_U,_U,_U,_P,_U,_U,_U,_U,_U,_U,_U,_L, /* 208-223 */ | ||
33 | _L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L, /* 224-239 */ | ||
34 | _L,_L,_L,_L,_L,_L,_L,_P,_L,_L,_L,_L,_L,_L,_L,_L}; /* 240-255 */ | ||
35 | |||
36 | EXPORT_SYMBOL(_ctype); | ||