From d91e67acc97263504a7338856b055d565e14c99a Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sat, 17 Sep 2011 17:20:27 +0000 Subject: plugins: make local functions static for a subset of plugins git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30564 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/jackpot.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'apps/plugins/jackpot.c') diff --git a/apps/plugins/jackpot.c b/apps/plugins/jackpot.c index abf1cf8..08eeb2c 100644 --- a/apps/plugins/jackpot.c +++ b/apps/plugins/jackpot.c @@ -110,14 +110,14 @@ void patterns_deinit(struct screen* display) #endif /* HAVE_LCD_CHARCELLS */ /*Call when the program exit*/ -void jackpot_exit(void) +static void jackpot_exit(void) { #ifdef HAVE_LCD_CHARCELLS patterns_deinit(rb->screens[SCREEN_MAIN]); #endif /* HAVE_LCD_CHARCELLS */ } -void jackpot_init(struct jackpot* game) +static void jackpot_init(struct jackpot* game) { int i,j; game->money=20; @@ -128,7 +128,7 @@ void jackpot_init(struct jackpot* game) } } -int jackpot_get_result(struct jackpot* game) +static int jackpot_get_result(struct jackpot* game) { int i=NB_SLOTS-1; int multiple=1; @@ -141,7 +141,7 @@ int jackpot_get_result(struct jackpot* game) return(result); } -int jackpot_get_gain(struct jackpot* game) +static int jackpot_get_gain(struct jackpot* game) { switch (jackpot_get_result(game)) { @@ -164,7 +164,7 @@ int jackpot_get_gain(struct jackpot* game) return(0); } -void jackpot_display_slot_machine(struct jackpot* game, struct screen* display) +static void jackpot_display_slot_machine(struct jackpot* game, struct screen* display) { char str[20]; int i; @@ -215,7 +215,7 @@ void jackpot_display_slot_machine(struct jackpot* game, struct screen* display) } -void jackpot_info_message(struct screen* display, char* message) +static void jackpot_info_message(struct screen* display, char* message) { #ifdef HAVE_LCD_CHARCELLS display->puts_scroll(0,1,message); @@ -232,7 +232,7 @@ void jackpot_info_message(struct screen* display, char* message) #endif /* HAVE_LCD_CHARCELLS */ } -void jackpot_print_turn_result(struct jackpot* game, +static void jackpot_print_turn_result(struct jackpot* game, int gain, struct screen* display) { char str[20]; @@ -250,7 +250,7 @@ void jackpot_print_turn_result(struct jackpot* game, display->update(); } -void jackpot_play_turn(struct jackpot* game) +static void jackpot_play_turn(struct jackpot* game) { /* How many pattern? */ int nb_turns[NB_SLOTS]; -- cgit v1.1