From 50ac7ca7742e1bec2dd4d66ddffe7b1fe39535dd Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sat, 15 Oct 2011 20:51:12 +0000 Subject: Fix warnings git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30759 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/fire.c | 2 +- apps/plugins/plasma.c | 2 +- apps/plugins/video.c | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'apps') 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 */ -- cgit v1.2.3