diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2008-04-19 23:29:39 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2008-04-19 23:29:39 +0000 |
commit | 5633784f4f84a082a14c25222fbcf12e03e3b474 (patch) | |
tree | 9598882b97023584c0c6512e906cd40f65c1e941 | |
parent | b3c44deaf681e571143513f26e5e39855478caa7 (diff) | |
download | rockbox-5633784f4f84a082a14c25222fbcf12e03e3b474.tar.gz rockbox-5633784f4f84a082a14c25222fbcf12e03e3b474.zip |
Made local functions static in playback_menu.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17177 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/menus/playback_menu.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/menus/playback_menu.c b/apps/menus/playback_menu.c index 1e07ef3781..390d5cc9a1 100644 --- a/apps/menus/playback_menu.c +++ b/apps/menus/playback_menu.c | |||
@@ -40,7 +40,7 @@ | |||
40 | 40 | ||
41 | 41 | ||
42 | #if CONFIG_CODEC == SWCODEC | 42 | #if CONFIG_CODEC == SWCODEC |
43 | int setcrossfadeonexit_callback(int action,const struct menu_item_ex *this_item) | 43 | static int setcrossfadeonexit_callback(int action,const struct menu_item_ex *this_item) |
44 | { | 44 | { |
45 | (void)this_item; | 45 | (void)this_item; |
46 | switch (action) | 46 | switch (action) |
@@ -56,7 +56,7 @@ int setcrossfadeonexit_callback(int action,const struct menu_item_ex *this_item) | |||
56 | 56 | ||
57 | /***********************************/ | 57 | /***********************************/ |
58 | /* PLAYBACK MENU */ | 58 | /* PLAYBACK MENU */ |
59 | int playback_callback(int action,const struct menu_item_ex *this_item); | 59 | static int playback_callback(int action,const struct menu_item_ex *this_item); |
60 | 60 | ||
61 | MENUITEM_SETTING(shuffle_item, &global_settings.playlist_shuffle, playback_callback); | 61 | MENUITEM_SETTING(shuffle_item, &global_settings.playlist_shuffle, playback_callback); |
62 | MENUITEM_SETTING(repeat_mode, &global_settings.repeat_mode, playback_callback); | 62 | MENUITEM_SETTING(repeat_mode, &global_settings.repeat_mode, playback_callback); |
@@ -68,7 +68,7 @@ MAKE_MENU(ff_rewind_settings_menu, ID2P(LANG_WIND_MENU), 0, Icon_NOICON, | |||
68 | &ff_rewind_min_step, &ff_rewind_accel); | 68 | &ff_rewind_min_step, &ff_rewind_accel); |
69 | #ifndef HAVE_FLASH_STORAGE | 69 | #ifndef HAVE_FLASH_STORAGE |
70 | #if CONFIG_CODEC == SWCODEC | 70 | #if CONFIG_CODEC == SWCODEC |
71 | int buffermargin_callback(int action,const struct menu_item_ex *this_item) | 71 | static int buffermargin_callback(int action,const struct menu_item_ex *this_item) |
72 | { | 72 | { |
73 | (void)this_item; | 73 | (void)this_item; |
74 | switch (action) | 74 | switch (action) |
@@ -108,7 +108,7 @@ MAKE_MENU(crossfade_settings_menu,ID2P(LANG_CROSSFADE),0, Icon_NOICON, | |||
108 | 108 | ||
109 | /* replay gain submenu */ | 109 | /* replay gain submenu */ |
110 | 110 | ||
111 | int replaygain_callback(int action,const struct menu_item_ex *this_item) | 111 | static int replaygain_callback(int action,const struct menu_item_ex *this_item) |
112 | { | 112 | { |
113 | (void)this_item; | 113 | (void)this_item; |
114 | switch (action) | 114 | switch (action) |
@@ -134,7 +134,7 @@ MENUITEM_SETTING(beep, &global_settings.beep ,NULL); | |||
134 | MENUITEM_SETTING(spdif_enable, &global_settings.spdif_enable, NULL); | 134 | MENUITEM_SETTING(spdif_enable, &global_settings.spdif_enable, NULL); |
135 | #endif | 135 | #endif |
136 | MENUITEM_SETTING(next_folder, &global_settings.next_folder, NULL); | 136 | MENUITEM_SETTING(next_folder, &global_settings.next_folder, NULL); |
137 | int audioscrobbler_callback(int action,const struct menu_item_ex *this_item) | 137 | static int audioscrobbler_callback(int action,const struct menu_item_ex *this_item) |
138 | { | 138 | { |
139 | (void)this_item; | 139 | (void)this_item; |
140 | switch (action) | 140 | switch (action) |
@@ -152,7 +152,7 @@ int audioscrobbler_callback(int action,const struct menu_item_ex *this_item) | |||
152 | MENUITEM_SETTING(audioscrobbler, &global_settings.audioscrobbler, audioscrobbler_callback); | 152 | MENUITEM_SETTING(audioscrobbler, &global_settings.audioscrobbler, audioscrobbler_callback); |
153 | 153 | ||
154 | 154 | ||
155 | int cuesheet_callback(int action,const struct menu_item_ex *this_item) | 155 | static int cuesheet_callback(int action,const struct menu_item_ex *this_item) |
156 | { | 156 | { |
157 | (void)this_item; | 157 | (void)this_item; |
158 | switch (action) | 158 | switch (action) |
@@ -196,7 +196,7 @@ MAKE_MENU(playback_menu_item,ID2P(LANG_PLAYBACK),0, | |||
196 | #endif | 196 | #endif |
197 | ); | 197 | ); |
198 | 198 | ||
199 | int playback_callback(int action,const struct menu_item_ex *this_item) | 199 | static int playback_callback(int action,const struct menu_item_ex *this_item) |
200 | { | 200 | { |
201 | static bool old_shuffle = false; | 201 | static bool old_shuffle = false; |
202 | static int old_repeat_mode = 0; | 202 | static int old_repeat_mode = 0; |