summaryrefslogtreecommitdiffstats
path: root/apps/plugins/test_codec.c
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/test_codec.c
parenta65d241dd01bc28a0ad732dda6a45278a0409b3c (diff)
downloadrockbox-84c77d40f512b5052edec1b9c283b0bea0b68b27.tar.gz
rockbox-84c77d40f512b5052edec1b9c283b0bea0b68b27.zip
Fix building test plugins on non-touch targets.
Change-Id: I6d058099ebb4c9d0aa5b21cb8b2e01bb4a5965d4
Diffstat (limited to 'apps/plugins/test_codec.c')
-rw-r--r--apps/plugins/test_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c
index 50d3fc93ef..8c3c88f9e7 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)
{