Commit aeaa623d27b18339cab42aa52e4c10acb8ff87a8

Ran Benita 2012-03-31T01:18:55

Constify a global table Signed-off-by: Ran Benita <ran234@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
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,