From fe67a87885816448e78a99ef0cbe8fd331c3b103 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sat, 15 Oct 2011 20:38:08 +0000 Subject: plugins: another round of making local functions static git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30758 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/fire.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'apps/plugins/fire.c') 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[]= { #ifndef HAVE_LCD_COLOR static unsigned char palette[256]; -void color_palette_init(unsigned char* palette) +static void color_palette_init(unsigned char* palette) { int i; for(i=0;i<=160;i++)//palette[i]=(3/2)*i @@ -95,7 +95,7 @@ static fb_data palette[256]; * the "The Demo Effects Collection" GPL project * Copyright (C) 2002 W.P. van Paassen */ -void color_palette_init(fb_data* palette) +static void color_palette_init(fb_data* palette) { int i; for (i = 0; i < 32; i++){ @@ -268,7 +268,7 @@ static inline void fire_draw(struct fire* fire) #endif } -void cleanup(void *parameter) +static void cleanup(void *parameter) { (void)parameter; #ifdef HAVE_ADJUSTABLE_CPU_FREQ @@ -283,7 +283,7 @@ void cleanup(void *parameter) #ifndef HAVE_LCD_COLOR -int init_grey(void) +static int init_grey(void) { unsigned char *gbuf; size_t gbuf_size = 0; @@ -303,7 +303,7 @@ int init_grey(void) } #endif -int main(void) +static int main(void) { int action; -- cgit v1.2.3