projects
/
profile
/
ivi
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c83043b
)
Constify a global table
author
Ran Benita
<ran234@gmail.com>
Fri, 30 Mar 2012 22:18:55 +0000
(
01:18
+0300)
committer
Daniel Stone
<daniel@fooishbar.org>
Mon, 2 Apr 2012 12:12:31 +0000
(13:12 +0100)
Signed-off-by: Ran Benita <ran234@gmail.com>
src/misc.c
patch
|
blob
|
history
diff --git
a/src/misc.c
b/src/misc.c
index
ab72432
..
fc0582a
100644
(file)
--- 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,