diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-11-13 17:04:03 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-11-13 17:04:03 +0100 |
commit | 906b0a483ed4e93dc69a0dde9fe7b6e3a2eb6d70 (patch) | |
tree | ec9ad222204da19dcc16af882b8dc2fc6f08091d /firmware/lib | |
parent | 5f31bdced09f16ebe436510a656dc6a811b07a1a (diff) |
mark _ctype as const to be able to put it in flash
Diffstat (limited to 'firmware/lib')
-rw-r--r-- | firmware/lib/ctype.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <asm/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 */ |