summaryrefslogtreecommitdiffstats
path: root/apps/menu.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-05-19 19:54:11 +0000
committerNils Wallménius <nils@rockbox.org>2007-05-19 19:54:11 +0000
commitf31e123133060e2c093967d3442c7a767a1baaaa (patch)
treebe970ddfb623666e8420e36d364801b9b36a8b8b /apps/menu.c
parenteb7603f1c540cad4af4661fd6461dd56a4436a8e (diff)
downloadrockbox-f31e123133060e2c093967d3442c7a767a1baaaa.tar.gz
rockbox-f31e123133060e2c093967d3442c7a767a1baaaa.tar.bz2
rockbox-f31e123133060e2c093967d3442c7a767a1baaaa.zip
Remove unused function and unused header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13424 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/menu.c b/apps/menu.c
index 04ccaf4366..474c1b6886 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -65,7 +65,7 @@ static struct menu_item_ex *current_submenus_menu;
static int current_subitems[MAX_MENU_SUBITEMS];
static int current_subitems_count = 0;
-void get_menu_callback(const struct menu_item_ex *m,
+static void get_menu_callback(const struct menu_item_ex *m,
menu_callback_type *menu_callback)
{
if (m->flags&(MENU_HAS_DESC|MENU_DYNAMIC_DESC))
@@ -604,8 +604,3 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected)
return ret;
}
-int main_menu(void)
-{
- return do_menu(NULL, 0) == MENU_ATTACHED_USB;
-}
-