summaryrefslogtreecommitdiffstats
path: root/apps/plugins/test_codec.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-01-29 21:47:56 +0100
committerThomas Martitz <kugel@rockbox.org>2012-01-29 22:35:49 +0100
commit476fcfa53858747ffde57014bbc77682018f1d8e (patch)
tree9558678a452fe087716433d3a713ed7c38d5bce3 /apps/plugins/test_codec.c
parentf57e5a2ae3b9d3c1ae4aa51e96d4b2aea700262f (diff)
downloadrockbox-476fcfa53858747ffde57014bbc77682018f1d8e.tar.gz
rockbox-476fcfa53858747ffde57014bbc77682018f1d8e.zip
Revert "Fix building test plugins on non-touch targets."
This reverts commit 84c77d40f512b5052edec1b9c283b0bea0b68b27. The commit used an unrelated define which doesn't actually work.
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 8c3c88f9e7..50d3fc93ef 100644
--- a/apps/plugins/test_codec.c
+++ b/apps/plugins/test_codec.c
@@ -814,6 +814,7 @@ void cleanup(void)
{
rb->screens[0]->set_viewport(NULL);
}
+#endif
static struct touchbutton button[] = {
@@ -823,7 +824,6 @@ static struct touchbutton button[] = {
/* viewport runtime initialized, rest false/NULL */
}
};
-#endif
void plugin_quit(void)
{