summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndré Goddard Rosa <andre.goddard@gmail.com>2009-12-14 18:01:02 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-15 08:53:32 -0800
commit7707e61c70999a1f9f1fd9ac92e293c198585152 (patch)
tree179b52871a34d892c265de68f3a8a05ee5aaef56 /include
parent922ac25c9f4b5dc4c48ff12bfd14a98bdeb6ff0a (diff)
ctype: constify read-only _ctype string
While at it, use tabs to indent the comments. Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ctype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ctype.h b/include/linux/ctype.h
index afa36392297a..6dec944a370b 100644
--- a/include/linux/ctype.h
+++ b/include/linux/ctype.h
@@ -15,7 +15,7 @@
#define _X 0x40 /* hex digit */
#define _SP 0x80 /* hard space (0x20) */
-extern unsigned char _ctype[];
+extern const unsigned char _ctype[];
#define __ismask(x) (_ctype[(int)(unsigned char)(x)])