projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
517c7ed
)
Constify keysym <-> Unicode lookup table
author
Daniel Stone
<daniel@fooishbar.org>
Tue, 11 Sep 2012 13:52:27 +0000
(14:52 +0100)
committer
Daniel Stone
<daniel@fooishbar.org>
Tue, 11 Sep 2012 13:52:27 +0000
(14:52 +0100)
Before:
text data bss dec hex filename
234422 11288 2304 248014 3c8ce obj-amd64/.libs/libxkbcommon.so.0.0.0
After:
text data bss dec hex filename
240694 5016 2304 248014 3c8ce obj-amd64/.libs/libxkbcommon.so.0.0.0
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/keysym-utf.c
patch
|
blob
|
history
diff --git
a/src/keysym-utf.c
b/src/keysym-utf.c
index
6da5cd4
..
66de078
100644
(file)
--- a/
src/keysym-utf.c
+++ b/
src/keysym-utf.c
@@
-38,7
+38,7
@@
#include "xkbcommon/xkbcommon.h"
#include "utils.h"
-struct codepair {
+
const
struct codepair {
xkb_keysym_t keysym;
uint16_t ucs;
} keysymtab[] = {