summaryrefslogtreecommitdiff
path: root/apps/menus/playback_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/menus/playback_menu.c')
-rw-r--r--apps/menus/playback_menu.c14
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
43int setcrossfadeonexit_callback(int action,const struct menu_item_ex *this_item) 43static 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 */
59int playback_callback(int action,const struct menu_item_ex *this_item); 59static int playback_callback(int action,const struct menu_item_ex *this_item);
60 60
61MENUITEM_SETTING(shuffle_item, &global_settings.playlist_shuffle, playback_callback); 61MENUITEM_SETTING(shuffle_item, &global_settings.playlist_shuffle, playback_callback);
62MENUITEM_SETTING(repeat_mode, &global_settings.repeat_mode, playback_callback); 62MENUITEM_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
71int buffermargin_callback(int action,const struct menu_item_ex *this_item) 71static 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
111int replaygain_callback(int action,const struct menu_item_ex *this_item) 111static 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);
134MENUITEM_SETTING(spdif_enable, &global_settings.spdif_enable, NULL); 134MENUITEM_SETTING(spdif_enable, &global_settings.spdif_enable, NULL);
135#endif 135#endif
136MENUITEM_SETTING(next_folder, &global_settings.next_folder, NULL); 136MENUITEM_SETTING(next_folder, &global_settings.next_folder, NULL);
137int audioscrobbler_callback(int action,const struct menu_item_ex *this_item) 137static 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)
152MENUITEM_SETTING(audioscrobbler, &global_settings.audioscrobbler, audioscrobbler_callback); 152MENUITEM_SETTING(audioscrobbler, &global_settings.audioscrobbler, audioscrobbler_callback);
153 153
154 154
155int cuesheet_callback(int action,const struct menu_item_ex *this_item) 155static 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
199int playback_callback(int action,const struct menu_item_ex *this_item) 199static 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;