Constify a static variable
authorRan Benita <ran234@gmail.com>
Tue, 22 May 2012 09:32:06 +0000 (12:32 +0300)
committerRan Benita <ran234@gmail.com>
Tue, 22 May 2012 11:19:23 +0000 (14:19 +0300)
Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/symbols.c

index 9c26e23..f40bf9c 100644 (file)
@@ -88,7 +88,7 @@ static void
 InitKeyInfo(KeyInfo * info)
 {
     int i;
-    static char dflt[4] = "*";
+    static const char dflt[4] = "*";
 
     info->defs.defined = 0;
     info->defs.fileID = 0;