summaryrefslogtreecommitdiff
path: root/apps/plugins/fire.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2011-10-15 20:38:08 +0000
committerBertrik Sikken <bertrik@sikken.nl>2011-10-15 20:38:08 +0000
commitfe67a87885816448e78a99ef0cbe8fd331c3b103 (patch)
tree29f3d6453ed3af2b8a4c35f27d6520de2d768da0 /apps/plugins/fire.c
parent2176fb38b61c72d09dc2b344f956a9b1c69c361d (diff)
downloadrockbox-fe67a87885816448e78a99ef0cbe8fd331c3b103.zip
rockbox-fe67a87885816448e78a99ef0cbe8fd331c3b103.tar.gz
rockbox-fe67a87885816448e78a99ef0cbe8fd331c3b103.tar.bz2
rockbox-fe67a87885816448e78a99ef0cbe8fd331c3b103.tar.xz
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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugins/fire.c b/apps/plugins/fire.c
index 797f4f1..1cee37c 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;