diff options
author | Michael Hohmuth <sideral@rockbox.org> | 2011-08-13 22:55:04 +0000 |
---|---|---|
committer | Michael Hohmuth <sideral@rockbox.org> | 2011-08-13 22:55:04 +0000 |
commit | 5c6fe5da9c9676005f55e12aa9da867678ff8e5c (patch) | |
tree | 733ddf3c5e1b960ad8cde6fa382661bdaf98c3a3 /apps | |
parent | 3fda72aa86613b7936427eb46a35eb88a8f14083 (diff) | |
download | rockbox-5c6fe5da9c9676005f55e12aa9da867678ff8e5c.tar.gz rockbox-5c6fe5da9c9676005f55e12aa9da867678ff8e5c.zip |
Properly export sleep_timer_call from main_menu.c in exported_menus.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30292 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/menus/exported_menus.h | 1 | ||||
-rw-r--r-- | apps/menus/time_menu.c | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/apps/menus/exported_menus.h b/apps/menus/exported_menus.h index 568791b1f0..c439af1479 100644 --- a/apps/menus/exported_menus.h +++ b/apps/menus/exported_menus.h | |||
@@ -38,6 +38,7 @@ extern const struct menu_item_ex | |||
38 | sound_settings, /* sound_menu.c */ | 38 | sound_settings, /* sound_menu.c */ |
39 | settings_menu_item, /* settings_menu.c */ | 39 | settings_menu_item, /* settings_menu.c */ |
40 | bookmark_settings_menu, | 40 | bookmark_settings_menu, |
41 | sleep_timer_call, /* main_menu.c */ | ||
41 | playlist_settings, /* playlist_menu.c */ | 42 | playlist_settings, /* playlist_menu.c */ |
42 | equalizer_menu, /* eq_menu.c */ | 43 | equalizer_menu, /* eq_menu.c */ |
43 | #ifdef AUDIOHW_HAVE_EQ | 44 | #ifdef AUDIOHW_HAVE_EQ |
diff --git a/apps/menus/time_menu.c b/apps/menus/time_menu.c index 92bb72f896..46be790274 100644 --- a/apps/menus/time_menu.c +++ b/apps/menus/time_menu.c | |||
@@ -80,10 +80,6 @@ static int timedate_set(void) | |||
80 | MENUITEM_FUNCTION(time_set, 0, ID2P(LANG_SET_TIME), | 80 | MENUITEM_FUNCTION(time_set, 0, ID2P(LANG_SET_TIME), |
81 | timedate_set, NULL, NULL, Icon_NOICON); | 81 | timedate_set, NULL, NULL, Icon_NOICON); |
82 | MENUITEM_SETTING(timeformat, &global_settings.timeformat, NULL); | 82 | MENUITEM_SETTING(timeformat, &global_settings.timeformat, NULL); |
83 | |||
84 | /* in main_menu.c */ | ||
85 | extern const struct menu_item_ex sleep_timer_call; | ||
86 | |||
87 | #ifdef HAVE_RTC_ALARM | 83 | #ifdef HAVE_RTC_ALARM |
88 | MENUITEM_FUNCTION(alarm_screen_call, 0, ID2P(LANG_ALARM_MOD_ALARM_MENU), | 84 | MENUITEM_FUNCTION(alarm_screen_call, 0, ID2P(LANG_ALARM_MOD_ALARM_MENU), |
89 | (menu_function)alarm_screen, NULL, NULL, Icon_NOICON); | 85 | (menu_function)alarm_screen, NULL, NULL, Icon_NOICON); |