summaryrefslogtreecommitdiff
path: root/lib/libxkbfile/src/xkberrs.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libxkbfile/src/xkberrs.c')
-rw-r--r--lib/libxkbfile/src/xkberrs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libxkbfile/src/xkberrs.c b/lib/libxkbfile/src/xkberrs.c
index a34417acc..f28f02b09 100644
--- a/lib/libxkbfile/src/xkberrs.c
+++ b/lib/libxkbfile/src/xkberrs.c
@@ -41,7 +41,7 @@
#include <X11/XKBlib.h>
#include <X11/extensions/XKBfile.h>
-char * _XkbErrMessages[] = {
+const char * _XkbErrMessages[] = {
"success", /* _XkbSuccess */
"key names not defined", /* _XkbErrMissingNames */
"key types not defined", /* _XkbErrMissingTypes */
@@ -72,6 +72,6 @@ char * _XkbErrMessages[] = {
};
unsigned _XkbErrCode;
-char * _XkbErrLocation= NULL;
+const char * _XkbErrLocation= NULL;
unsigned _XkbErrData;