summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2012-01-28 13:24:39 +0100
committerMagnus Holmgren <magnushol@gmail.com>2012-01-28 13:41:15 +0100
commit84c77d40f512b5052edec1b9c283b0bea0b68b27 (patch)
tree619d8c77bedd83a02d6eb87f47a45efe3191a4e0 /apps/plugins
parenta65d241dd01bc28a0ad732dda6a45278a0409b3c (diff)
downloadrockbox-84c77d40f512b5052edec1b9c283b0bea0b68b27.zip
rockbox-84c77d40f512b5052edec1b9c283b0bea0b68b27.tar.gz
rockbox-84c77d40f512b5052edec1b9c283b0bea0b68b27.tar.bz2
rockbox-84c77d40f512b5052edec1b9c283b0bea0b68b27.tar.xz
Fix building test plugins on non-touch targets.
Change-Id: I6d058099ebb4c9d0aa5b21cb8b2e01bb4a5965d4
Diffstat (limited to 'apps/plugins')
-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)
{