aboutsummaryrefslogtreecommitdiff
path: root/include/linux/ctype.h
diff options
context:
space:
mode:
authorMike Frysinger2010-10-20 07:17:45 -0400
committerWolfgang Denk2010-11-28 21:58:29 +0100
commit543f0a3819a9af130f3f80a660099fad8d2d4b8e (patch)
treeb5b5146ab42f3e9dfe306a404e3153069d8daf7d /include/linux/ctype.h
parent7edb186fcf96bd52aadf0529aa135bb393732060 (diff)
ctype: constify lookup table
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/linux/ctype.h')
-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 afa36392297..6dec944a370 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)])