summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-11-13 17:04:03 +0100
committerHarald Welte <laforge@gnumonks.org>2010-11-13 17:04:03 +0100
commit906b0a483ed4e93dc69a0dde9fe7b6e3a2eb6d70 (patch)
treeec9ad222204da19dcc16af882b8dc2fc6f08091d /firmware/include
parent5f31bdced09f16ebe436510a656dc6a811b07a1a (diff)
mark _ctype as const to be able to put it in flash
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/asm/ctype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/include/asm/ctype.h b/firmware/include/asm/ctype.h
index afa3639..6dec944 100644
--- a/firmware/include/asm/ctype.h
+++ b/firmware/include/asm/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)])
personal git repositories of Harald Welte. Your mileage may vary