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/lib/ctype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/lib') diff --git a/firmware/lib/ctype.c b/firmware/lib/ctype.c index 6ec51cc..cc6f077 100644 --- a/firmware/lib/ctype.c +++ b/firmware/lib/ctype.c @@ -6,7 +6,7 @@ #include -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 */ -- cgit v1.2.3