aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2017-03-03 21:24:59 +0100
committerUlrich Sibiller <uli42@gmx.de>2017-03-03 21:45:26 +0100
commit19065e75ee2e0f7f84c3d52cb277cd4d542e0e11 (patch)
tree64ef4b7c9eaaf9e67e73b89d837f399768f05da1 /nx-X11
parent9e29588dd09eec1824b3b49fb9368f22e78ce790 (diff)
downloadnx-libs-19065e75ee2e0f7f84c3d52cb277cd4d542e0e11.tar.gz
nx-libs-19065e75ee2e0f7f84c3d52cb277cd4d542e0e11.tar.bz2
nx-libs-19065e75ee2e0f7f84c3d52cb277cd4d542e0e11.zip
xkb: add missing const
this was missing from the backport of 5623c27700b7b23a8dbbd8c8f45e5d4fa0c667e3 (Constify atom name strings)
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/xkb/xkbfmisc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/xkb/xkbfmisc.c b/nx-X11/programs/Xserver/xkb/xkbfmisc.c
index 1c040cd2e..6545a2879 100644
--- a/nx-X11/programs/Xserver/xkb/xkbfmisc.c
+++ b/nx-X11/programs/Xserver/xkb/xkbfmisc.c
@@ -265,7 +265,8 @@ XkbWriteXKBKeymapForNames( FILE * file,
unsigned want,
unsigned need)
{
-char * name,*tmp;
+char * name;
+const char * tmp;
unsigned complete;
XkbNamesPtr old_names;
int multi_section;