[PATCH v2 1/5] xkb: constify XkbDDXOpenConfigFile

Peter Hutterer peter.hutterer at who-t.net
Wed Mar 12 19:56:55 PDT 2014


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 xkb/ddxLoad.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xkb/ddxLoad.c b/xkb/ddxLoad.c
index f458e3b..551f20a 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;
-- 
1.8.5.3



More information about the xorg-devel mailing list