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
This commit is contained in:
Michael Hohmuth 2011-08-13 22:55:04 +00:00
parent 3fda72aa86
commit 5c6fe5da9c
2 changed files with 1 additions and 4 deletions

View file

@ -38,6 +38,7 @@ extern const struct menu_item_ex
sound_settings, /* sound_menu.c */ sound_settings, /* sound_menu.c */
settings_menu_item, /* settings_menu.c */ settings_menu_item, /* settings_menu.c */
bookmark_settings_menu, bookmark_settings_menu,
sleep_timer_call, /* main_menu.c */
playlist_settings, /* playlist_menu.c */ playlist_settings, /* playlist_menu.c */
equalizer_menu, /* eq_menu.c */ equalizer_menu, /* eq_menu.c */
#ifdef AUDIOHW_HAVE_EQ #ifdef AUDIOHW_HAVE_EQ

View file

@ -80,10 +80,6 @@ static int timedate_set(void)
MENUITEM_FUNCTION(time_set, 0, ID2P(LANG_SET_TIME), MENUITEM_FUNCTION(time_set, 0, ID2P(LANG_SET_TIME),
timedate_set, NULL, NULL, Icon_NOICON); timedate_set, NULL, NULL, Icon_NOICON);
MENUITEM_SETTING(timeformat, &global_settings.timeformat, NULL); MENUITEM_SETTING(timeformat, &global_settings.timeformat, NULL);
/* in main_menu.c */
extern const struct menu_item_ex sleep_timer_call;
#ifdef HAVE_RTC_ALARM #ifdef HAVE_RTC_ALARM
MENUITEM_FUNCTION(alarm_screen_call, 0, ID2P(LANG_ALARM_MOD_ALARM_MENU), MENUITEM_FUNCTION(alarm_screen_call, 0, ID2P(LANG_ALARM_MOD_ALARM_MENU),
(menu_function)alarm_screen, NULL, NULL, Icon_NOICON); (menu_function)alarm_screen, NULL, NULL, Icon_NOICON);