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"