Small constification
authorDaniel Stone <daniel@fooishbar.org>
Tue, 20 Mar 2012 17:24:09 +0000 (17:24 +0000)
committerDaniel Stone <daniel@fooishbar.org>
Tue, 20 Mar 2012 17:24:09 +0000 (17:24 +0000)
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/xkbcomp/keymap.c

index eba36bd..d3c99ce 100644 (file)
@@ -45,7 +45,7 @@ CompileKeymap(XkbFile *file, unsigned merge)
     Bool ok;
     unsigned required, legal;
     unsigned mainType;
-    char *mainName;
+    const char *mainName;
     LEDInfo *unbound = NULL;
     struct xkb_desc *xkb = XkbcAllocKeyboard();
     struct {