diff options
| author | Bertrik Sikken <bertrik@sikken.nl> | 2011-09-17 17:20:27 +0000 |
|---|---|---|
| committer | Bertrik Sikken <bertrik@sikken.nl> | 2011-09-17 17:20:27 +0000 |
| commit | d91e67acc97263504a7338856b055d565e14c99a (patch) | |
| tree | 47f4e8f80c99b7c049afeeb4ee926ce1b2ff24f8 /apps/plugins/jackpot.c | |
| parent | e03faf835dd7b879f589e3dc080991bab86dfae7 (diff) | |
| download | rockbox-d91e67acc97263504a7338856b055d565e14c99a.zip rockbox-d91e67acc97263504a7338856b055d565e14c99a.tar.gz rockbox-d91e67acc97263504a7338856b055d565e14c99a.tar.bz2 rockbox-d91e67acc97263504a7338856b055d565e14c99a.tar.xz | |
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
Diffstat (limited to 'apps/plugins/jackpot.c')
| -rw-r--r-- | apps/plugins/jackpot.c | 16 |
1 files changed, 8 insertions, 8 deletions
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]; |