xkb: constify XkbDDXOpenConfigFile

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
This commit is contained in:
Peter Hutterer 2014-03-12 17:17:25 +10:00
parent d35a02a767
commit 6ebd838d80

View File

@ -210,7 +210,7 @@ XkbDDXCompileKeymapByNames(XkbDescPtr xkb,
} }
static FILE * 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]; char buf[PATH_MAX], xkm_output_dir[PATH_MAX];
FILE *file; FILE *file;