From 5c6fe5da9c9676005f55e12aa9da867678ff8e5c Mon Sep 17 00:00:00 2001 From: Michael Hohmuth Date: Sat, 13 Aug 2011 22:55:04 +0000 Subject: [PATCH] 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 --- apps/menus/exported_menus.h | 1 + apps/menus/time_menu.c | 4 ---- 2 files changed, 1 insertion(+), 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 sound_settings, /* sound_menu.c */ settings_menu_item, /* settings_menu.c */ bookmark_settings_menu, + sleep_timer_call, /* main_menu.c */ playlist_settings, /* playlist_menu.c */ equalizer_menu, /* eq_menu.c */ #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) MENUITEM_FUNCTION(time_set, 0, ID2P(LANG_SET_TIME), timedate_set, NULL, NULL, Icon_NOICON); MENUITEM_SETTING(timeformat, &global_settings.timeformat, NULL); - -/* in main_menu.c */ -extern const struct menu_item_ex sleep_timer_call; - #ifdef HAVE_RTC_ALARM MENUITEM_FUNCTION(alarm_screen_call, 0, ID2P(LANG_ALARM_MOD_ALARM_MENU), (menu_function)alarm_screen, NULL, NULL, Icon_NOICON);