aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMax Horn2009-05-12 23:31:02 +0000
committerMax Horn2009-05-12 23:31:02 +0000
commite3d79c58f0e94e03a8176a32ea1355e6dbb2a055 (patch)
tree71ad6e62438f7ebec84eb6f0e4cbd3809c01d63e /backends
parent7f2967084398b37c0c25e665c13e751fa350780c (diff)
downloadscummvm-rg350-e3d79c58f0e94e03a8176a32ea1355e6dbb2a055.tar.gz
scummvm-rg350-e3d79c58f0e94e03a8176a32ea1355e6dbb2a055.tar.bz2
scummvm-rg350-e3d79c58f0e94e03a8176a32ea1355e6dbb2a055.zip
Make data that is only locally used static
svn-id: r40516
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/sdl/hardwarekeys.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/sdl/hardwarekeys.cpp b/backends/platform/sdl/hardwarekeys.cpp
index ba9565b5ce..1a8124bbf3 100644
--- a/backends/platform/sdl/hardwarekeys.cpp
+++ b/backends/platform/sdl/hardwarekeys.cpp
@@ -40,7 +40,7 @@ struct Key {
bool shiftable;
};
-const Key keys[] = {
+static const Key keys[] = {
{"BACKSPACE", KEYCODE_BACKSPACE, ASCII_BACKSPACE, "Backspace", kActionKeyType, false},
{"TAB", KEYCODE_TAB, ASCII_TAB, "Tab", kActionKeyType, false},
{"CLEAR", KEYCODE_CLEAR, 0, "Clear", kActionKeyType, false},
@@ -183,7 +183,7 @@ struct Mod {
bool shiftable;
};
-const Mod modifiers[] = {
+static const Mod modifiers[] = {
{ 0, "", "", false },
{ KBD_CTRL, "C+", "Ctrl+", false },
{ KBD_ALT, "A+", "Alt+", false },