Constify keysym <-> Unicode lookup table 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>
diff --git a/src/keysym-utf.c b/src/keysym-utf.c
index 6da5cd4..66de078 100644
--- 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[] = {