Fix building test plugins on non-touch targets.

Change-Id: I6d058099ebb4c9d0aa5b21cb8b2e01bb4a5965d4
This commit is contained in:
Magnus Holmgren 2012-01-28 13:24:39 +01:00
parent a65d241dd0
commit 84c77d40f5
2 changed files with 2 additions and 2 deletions

View file

@ -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)
{

View file

@ -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)
{