From 626f47d80e6e291057f010f427da5558a0855925 Mon Sep 17 00:00:00 2001 From: bertrik Date: Wed, 16 Jul 2008 12:10:49 +0000 Subject: [PATCH] Make a couple of locally used callbacks static git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18067 a1c6a512-1295-4272-9138-f99709370657 --- apps/menus/recording_menu.c | 4 ++-- apps/root_menu.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/menus/recording_menu.c b/apps/menus/recording_menu.c index c13edfa15..b3b33b7f5 100644 --- a/apps/menus/recording_menu.c +++ b/apps/menus/recording_menu.c @@ -71,7 +71,7 @@ #include "viewport.h" static bool no_source_in_menu = false; -int recmenu_callback(int action,const struct menu_item_ex *this_item); +static int recmenu_callback(int action,const struct menu_item_ex *this_item); static int recsource_func(void) { @@ -295,7 +295,7 @@ MENUITEM_FUNCTION(enc_global_config_menu_item, 0, ID2P(LANG_ENCODER_SETTINGS), #endif /* CONFIG_CODEC == SWCODEC */ -int recmenu_callback(int action,const struct menu_item_ex *this_item) +static int recmenu_callback(int action,const struct menu_item_ex *this_item) { switch (action) { diff --git a/apps/root_menu.c b/apps/root_menu.c index de01ff837..bee17f183 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c @@ -345,7 +345,7 @@ static const struct root_items items[] = { }; static const int nb_items = sizeof(items)/sizeof(*items); -int item_callback(int action, const struct menu_item_ex *this_item) ; +static int item_callback(int action, const struct menu_item_ex *this_item) ; MENUITEM_RETURNVALUE(file_browser, ID2P(LANG_DIR_BROWSER), GO_TO_FILEBROWSER, NULL, Icon_file_view_menu); @@ -411,7 +411,7 @@ MAKE_MENU(root_menu_, ID2P(LANG_ROCKBOX_TITLE), #endif ); -int item_callback(int action, const struct menu_item_ex *this_item) +static int item_callback(int action, const struct menu_item_ex *this_item) { switch (action) { -- 2.11.4.GIT