summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2011-10-15 20:51:12 +0000
committerBertrik Sikken <bertrik@sikken.nl>2011-10-15 20:51:12 +0000
commit50ac7ca7742e1bec2dd4d66ddffe7b1fe39535dd (patch)
tree39e608b43b0bbd1bda011c61e3ebb811bba54fa4
parentfe67a87885816448e78a99ef0cbe8fd331c3b103 (diff)
Fix warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30759 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/fire.c2
-rw-r--r--apps/plugins/plasma.c2
-rw-r--r--apps/plugins/video.c2
3 files changed, 4 insertions, 2 deletions
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 */