summaryrefslogtreecommitdiff
path: root/apps/plugins
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
parentf57e5a2ae3b9d3c1ae4aa51e96d4b2aea700262f (diff)
downloadrockbox-476fcfa53858747ffde57014bbc77682018f1d8e.zip
rockbox-476fcfa53858747ffde57014bbc77682018f1d8e.tar.gz
rockbox-476fcfa53858747ffde57014bbc77682018f1d8e.tar.bz2
rockbox-476fcfa53858747ffde57014bbc77682018f1d8e.tar.xz
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')
-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 8c3c88f..50d3fc9 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)
{
diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c
index 75289a1..caabde4 100644
--- a/apps/plugins/test_fps.c
+++ b/apps/plugins/test_fps.c
@@ -358,6 +358,7 @@ static void time_greyscale(void)
log_text("CPU load err (boost?)");
}
}
+#endif
static struct touchbutton button[] = {
{
@@ -366,7 +367,6 @@ static struct touchbutton button[] = {
/* viewport runtime initialized, rest false/NULL */
}
};
-#endif
void plugin_quit(void)
{