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)
downloadrockbox-50ac7ca7742e1bec2dd4d66ddffe7b1fe39535dd.tar.gz
rockbox-50ac7ca7742e1bec2dd4d66ddffe7b1fe39535dd.zip
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)
303} 303}
304#endif 304#endif
305 305
306static int main(void) 306int main(void)
307{ 307{
308 int action; 308 int action;
309 309
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)
150 * algorithm. 150 * algorithm.
151 */ 151 */
152 152
153static int main(void) 153int main(void)
154{ 154{
155 plasma_frequency = 1; 155 plasma_frequency = 1;
156 int action, x, y; 156 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)
216} 216}
217 217
218/* debug function to draw buffer indicators */ 218/* debug function to draw buffer indicators */
219#ifdef VIDEO_DEBUG
219static void DrawBuf(void) 220static void DrawBuf(void)
220{ 221{
221 int ypos, fill, video, audio; 222 int ypos, fill, video, audio;
@@ -244,6 +245,7 @@ static void DrawBuf(void)
244 else 245 else
245 gPlay.bDirtyOSD = true; /* redraw it with next timer IRQ */ 246 gPlay.bDirtyOSD = true; /* redraw it with next timer IRQ */
246} 247}
248#endif
247 249
248 250
249/* helper function to draw a position indicator */ 251/* helper function to draw a position indicator */