summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/test_codec.c2
-rw-r--r--apps/plugins/test_fps.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c
index 50d3fc9..8c3c88f 100644
--- a/apps/plugins/test_codec.c
+++ b/apps/plugins/test_codec.c
@@ -814,7 +814,6 @@ void cleanup(void)
{
rb->screens[0]->set_viewport(NULL);
}
-#endif
static struct touchbutton button[] = {
@@ -824,6 +823,7 @@ static struct touchbutton button[] = {
/* viewport runtime initialized, rest false/NULL */
}
};
+#endif
void plugin_quit(void)
{
diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c
index caabde4..75289a1 100644
--- a/apps/plugins/test_fps.c
+++ b/apps/plugins/test_fps.c
@@ -358,7 +358,6 @@ static void time_greyscale(void)
log_text("CPU load err (boost?)");
}
}
-#endif
static struct touchbutton button[] = {
{
@@ -367,6 +366,7 @@ static struct touchbutton button[] = {
/* viewport runtime initialized, rest false/NULL */
}
};
+#endif
void plugin_quit(void)
{