summaryrefslogtreecommitdiff
path: root/apps/plugins/fire.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/fire.c')
-rw-r--r--apps/plugins/fire.c10
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
77static unsigned char palette[256]; 77static unsigned char palette[256];
78 78
79void color_palette_init(unsigned char* palette) 79static 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 */
98void color_palette_init(fb_data* palette) 98static 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
271void cleanup(void *parameter) 271static 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
286int init_grey(void) 286static 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
306int main(void) 306static int main(void)
307{ 307{
308 int action; 308 int action;
309 309