projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51c9f8e
)
makekeys: mark keysym_names as static
author
Ran Benita
<ran234@gmail.com>
Fri, 10 Jan 2014 22:26:58 +0000
(
00:26
+0200)
committer
Ran Benita
<ran234@gmail.com>
Fri, 10 Jan 2014 22:26:58 +0000
(
00:26
+0200)
Signed-off-by: Ran Benita <ran234@gmail.com>
makekeys.py
patch
|
blob
|
history
src/ks_tables.h
patch
|
blob
|
history
diff --git
a/makekeys.py
b/makekeys.py
index
1939912
..
4732f8d
100644
(file)
--- 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
(file)
--- 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"