summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-06 14:15:02 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-06 18:16:19 +0000
commit4fa57d766164e82e6b2ae6975b52981876be9393 (patch)
tree53aec3d9a3a481cc2dbbc5fe3a7d2420cd046585
parent5b8198d1472a70568712671ccc9fe06805eadc36 (diff)
downloadrockbox-4fa57d766164e82e6b2ae6975b52981876be9393.tar.gz
rockbox-4fa57d766164e82e6b2ae6975b52981876be9393.tar.bz2
rockbox-4fa57d766164e82e6b2ae6975b52981876be9393.zip
sdl: Get rid of duplicate instantiation of 'button_queue'
(Caused a build failure under GCC10's stricter '-fno-common' default) Change-Id: I7d49c630771e8294e2ad8c740a4ada136a6befd7
-rw-r--r--firmware/target/hosted/sdl/button-sdl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/firmware/target/hosted/sdl/button-sdl.c b/firmware/target/hosted/sdl/button-sdl.c
index 8bf813ce16..8c716bc7b9 100644
--- a/firmware/target/hosted/sdl/button-sdl.c
+++ b/firmware/target/hosted/sdl/button-sdl.c
@@ -67,10 +67,6 @@ int remote_type(void)
}
#endif
-#ifndef SIMULATOR
-struct event_queue button_queue;
-#endif
-
static int btn = 0; /* Hopefully keeps track of currently pressed keys... */
int sdl_app_has_input_focus = 1;