Commit 1d5ae2263a609700ca78de20bdbe07314c8ee636

Ran Benita 2014-01-11T00:26:58

makekeys: mark keysym_names as static Signed-off-by: Ran Benita <ran234@gmail.com>

diff --git a/makekeys.py b/makekeys.py
index 1939912..4732f8d 100644
--- a/makekeys.py
+++ b/makekeys.py
@@ -19,7 +19,7 @@ entry_offsets = {}
 print('''
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Woverlength-strings"
-const char *keysym_names =
+static const char *keysym_names =
 '''.strip())
 offs = 0
 for (name, _) in sorted(entries, key=lambda e: e[0].lower()):
diff --git a/src/ks_tables.h b/src/ks_tables.h
index 2955f8d..1010b69 100644
--- a/src/ks_tables.h
+++ b/src/ks_tables.h
@@ -7,7 +7,7 @@
 
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Woverlength-strings"
-const char *keysym_names =
+static const char *keysym_names =
     "0\0"
     "1\0"
     "2\0"