From aeaa623d27b18339cab42aa52e4c10acb8ff87a8 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sat, 31 Mar 2012 01:18:55 +0300 Subject: [PATCH] Constify a global table Signed-off-by: Ran Benita --- src/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc.c b/src/misc.c index ab72432..fc0582a 100644 --- a/src/misc.c +++ b/src/misc.c @@ -170,7 +170,7 @@ XkbcVirtualModsToReal(struct xkb_desc * xkb, unsigned virtual_mask, * All latin-1 alphanumerics, plus parens, slash, minus, underscore and * wildcards. */ -static unsigned char componentSpecLegal[] = { +static const unsigned char componentSpecLegal[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0xa7, 0xff, 0x83, 0xfe, 0xff, 0xff, 0x87, 0xfe, 0xff, 0xff, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -- 2.7.4