summaryrefslogtreecommitdiff
path: root/xkb
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-03-12 17:17:25 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-03-17 15:10:07 +1000
commit6ebd838d80074075827dedb75ed4169ea1946be3 (patch)
tree08e2a61a0bcb123fddaa950f1093b6012edc8317 /xkb
parentd35a02a767017f13db4bd4742eef49293d5a30ea (diff)
xkb: constify XkbDDXOpenConfigFile
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Diffstat (limited to 'xkb')
-rw-r--r--xkb/ddxLoad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/ddxLoad.c b/xkb/ddxLoad.c
index f458e3bde..551f20a13 100644
--- a/xkb/ddxLoad.c
+++ b/xkb/ddxLoad.c
@@ -210,7 +210,7 @@ XkbDDXCompileKeymapByNames(XkbDescPtr xkb,
}
static FILE *
-XkbDDXOpenConfigFile(char *mapName, char *fileNameRtrn, int fileNameRtrnLen)
+XkbDDXOpenConfigFile(const char *mapName, char *fileNameRtrn, int fileNameRtrnLen)
{
char buf[PATH_MAX], xkm_output_dir[PATH_MAX];
FILE *file;