summaryrefslogtreecommitdiff
path: root/apps/plugins/fireworks.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/fireworks.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/fireworks.c')
-rw-r--r--apps/plugins/fireworks.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/fireworks.c b/apps/plugins/fireworks.c
index 75db1b3..69c7be0 100644
--- a/apps/plugins/fireworks.c
+++ b/apps/plugins/fireworks.c
@@ -320,7 +320,7 @@ MENUITEM_STRINGLIST(menu, "Fireworks Menu", NULL,
"FPS (Speed)", "Playback Control", "Quit");
/* called on startup. initializes all variables, etc */
-void init_all(void)
+static void init_all(void)
{
int j;
@@ -333,7 +333,7 @@ void init_all(void)
/* called when a rocket hits its destination height.
* prepares all associated fireworks to be expelled. */
-void init_explode(int x, int y, int firework, int points)
+static void init_explode(int x, int y, int firework, int points)
{
int i;
@@ -357,7 +357,7 @@ void init_explode(int x, int y, int firework, int points)
/* called when a rocket is launched.
* prepares said rocket to start moving towards its destination. */
-void init_rocket(int rocket)
+static void init_rocket(int rocket)
{
rb->srand(*rb->current_tick);
@@ -374,7 +374,7 @@ void init_rocket(int rocket)
}
/* startup/configuration menu. */
-void fireworks_menu(void)
+static void fireworks_menu(void)
{
int selected = 0, result;
bool menu_quit = false;