summaryrefslogtreecommitdiff
path: root/lib/ctype.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-20 07:17:45 -0400
committerWolfgang Denk <wd@denx.de>2010-11-28 21:58:29 +0100
commit543f0a3819a9af130f3f80a660099fad8d2d4b8e (patch)
treeb5b5146ab42f3e9dfe306a404e3153069d8daf7d /lib/ctype.c
parent7edb186fcf96bd52aadf0529aa135bb393732060 (diff)
ctype: constify lookup table
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'lib/ctype.c')
-rw-r--r--lib/ctype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ctype.c b/lib/ctype.c
index 6ed0468a21..dffe563724 100644
--- a/lib/ctype.c
+++ b/lib/ctype.c
@@ -29,7 +29,7 @@
#include <linux/ctype.h>
-unsigned char _ctype[] = {
+const unsigned char _ctype[] = {
_C,_C,_C,_C,_C,_C,_C,_C, /* 0-7 */
_C,_C|_S,_C|_S,_C|_S,_C|_S,_C|_S,_C,_C, /* 8-15 */
_C,_C,_C,_C,_C,_C,_C,_C, /* 16-23 */