summaryrefslogtreecommitdiffstats
path: root/apps/menus
diff options
context:
space:
mode:
authorMichael Hohmuth <sideral@rockbox.org>2011-08-13 22:55:04 +0000
committerMichael Hohmuth <sideral@rockbox.org>2011-08-13 22:55:04 +0000
commit5c6fe5da9c9676005f55e12aa9da867678ff8e5c (patch)
tree733ddf3c5e1b960ad8cde6fa382661bdaf98c3a3 /apps/menus
parent3fda72aa86613b7936427eb46a35eb88a8f14083 (diff)
downloadrockbox-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/menus')
-rw-r--r--apps/menus/exported_menus.h1
-rw-r--r--apps/menus/time_menu.c4
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
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);