diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2011-10-15 20:38:08 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2011-10-15 20:38:08 +0000 |
commit | fe67a87885816448e78a99ef0cbe8fd331c3b103 (patch) | |
tree | 29f3d6453ed3af2b8a4c35f27d6520de2d768da0 /apps/plugins/fire.c | |
parent | 2176fb38b61c72d09dc2b344f956a9b1c69c361d (diff) | |
download | rockbox-fe67a87885816448e78a99ef0cbe8fd331c3b103.tar.gz rockbox-fe67a87885816448e78a99ef0cbe8fd331c3b103.zip |
plugins: another round of making local functions static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30758 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/fire.c')
-rw-r--r-- | apps/plugins/fire.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugins/fire.c b/apps/plugins/fire.c index 797f4f120b..1cee37cf1d 100644 --- a/apps/plugins/fire.c +++ b/apps/plugins/fire.c | |||
@@ -76,7 +76,7 @@ const struct button_mapping* plugin_contexts[]= { | |||
76 | #ifndef HAVE_LCD_COLOR | 76 | #ifndef HAVE_LCD_COLOR |
77 | static unsigned char palette[256]; | 77 | static unsigned char palette[256]; |
78 | 78 | ||
79 | void color_palette_init(unsigned char* palette) | 79 | static void color_palette_init(unsigned char* palette) |
80 | { | 80 | { |
81 | int i; | 81 | int i; |
82 | for(i=0;i<=160;i++)//palette[i]=(3/2)*i | 82 | for(i=0;i<=160;i++)//palette[i]=(3/2)*i |
@@ -95,7 +95,7 @@ static fb_data palette[256]; | |||
95 | * the "The Demo Effects Collection" GPL project | 95 | * the "The Demo Effects Collection" GPL project |
96 | * Copyright (C) 2002 W.P. van Paassen | 96 | * Copyright (C) 2002 W.P. van Paassen |
97 | */ | 97 | */ |
98 | void color_palette_init(fb_data* palette) | 98 | static void color_palette_init(fb_data* palette) |
99 | { | 99 | { |
100 | int i; | 100 | int i; |
101 | for (i = 0; i < 32; i++){ | 101 | for (i = 0; i < 32; i++){ |
@@ -268,7 +268,7 @@ static inline void fire_draw(struct fire* fire) | |||
268 | #endif | 268 | #endif |
269 | } | 269 | } |
270 | 270 | ||
271 | void cleanup(void *parameter) | 271 | static void cleanup(void *parameter) |
272 | { | 272 | { |
273 | (void)parameter; | 273 | (void)parameter; |
274 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ | 274 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ |
@@ -283,7 +283,7 @@ void cleanup(void *parameter) | |||
283 | 283 | ||
284 | 284 | ||
285 | #ifndef HAVE_LCD_COLOR | 285 | #ifndef HAVE_LCD_COLOR |
286 | int init_grey(void) | 286 | static int init_grey(void) |
287 | { | 287 | { |
288 | unsigned char *gbuf; | 288 | unsigned char *gbuf; |
289 | size_t gbuf_size = 0; | 289 | size_t gbuf_size = 0; |
@@ -303,7 +303,7 @@ int init_grey(void) | |||
303 | } | 303 | } |
304 | #endif | 304 | #endif |
305 | 305 | ||
306 | int main(void) | 306 | static int main(void) |
307 | { | 307 | { |
308 | int action; | 308 | int action; |
309 | 309 | ||