diff --git a/apps/plugins/fire.c b/apps/plugins/fire.c index 1cee37cf1d..5813894d4f 100644 --- a/apps/plugins/fire.c +++ b/apps/plugins/fire.c @@ -303,7 +303,7 @@ static int init_grey(void) } #endif -static int main(void) +int main(void) { int action; diff --git a/apps/plugins/plasma.c b/apps/plugins/plasma.c index 950423c241..88afb858f5 100644 --- a/apps/plugins/plasma.c +++ b/apps/plugins/plasma.c @@ -150,7 +150,7 @@ static void cleanup(void) * algorithm. */ -static int main(void) +int main(void) { plasma_frequency = 1; int action, x, y; diff --git a/apps/plugins/video.c b/apps/plugins/video.c index 8fd1071c1e..9053ae7fb0 100644 --- a/apps/plugins/video.c +++ b/apps/plugins/video.c @@ -216,6 +216,7 @@ static int Available(unsigned char* pSnapshot) } /* debug function to draw buffer indicators */ +#ifdef VIDEO_DEBUG static void DrawBuf(void) { int ypos, fill, video, audio; @@ -244,6 +245,7 @@ static void DrawBuf(void) else gPlay.bDirtyOSD = true; /* redraw it with next timer IRQ */ } +#endif /* helper function to draw a position indicator */