From 84c77d40f512b5052edec1b9c283b0bea0b68b27 Mon Sep 17 00:00:00 2001 From: Magnus Holmgren Date: Sat, 28 Jan 2012 13:24:39 +0100 Subject: Fix building test plugins on non-touch targets. Change-Id: I6d058099ebb4c9d0aa5b21cb8b2e01bb4a5965d4 --- apps/plugins/test_codec.c | 2 +- apps/plugins/test_fps.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') 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) { diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c index caabde4d1b..75289a1f90 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) { -- cgit v1.2.3