From 906b0a483ed4e93dc69a0dde9fe7b6e3a2eb6d70 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 13 Nov 2010 17:04:03 +0100 Subject: mark _ctype as const to be able to put it in flash --- firmware/include/asm/ctype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/include/asm/ctype.h') 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)]) -- cgit v1.2.3