Commit cb047bb0fcec699cd0d4a37e404a55be775f89e1

Ran Benita 2012-05-22T12:32:06

Constify a static variable Signed-off-by: Ran Benita <ran234@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/xkbcomp/symbols.c b/src/xkbcomp/symbols.c
index 9c26e23..f40bf9c 100644
--- a/src/xkbcomp/symbols.c
+++ b/src/xkbcomp/symbols.c
@@ -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;