summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-07-16 12:10:49 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-07-16 12:10:49 +0000
commitdff382cb9c94f36246ed5aeea1ef4ddb26686588 (patch)
treebc31dda29d91347c914a5384abf02c90a307d295 /apps
parenta12894c6dc53156ac6af2d270f1ce31f45a2aa17 (diff)
downloadrockbox-dff382cb9c94f36246ed5aeea1ef4ddb26686588.tar.gz
rockbox-dff382cb9c94f36246ed5aeea1ef4ddb26686588.tar.bz2
rockbox-dff382cb9c94f36246ed5aeea1ef4ddb26686588.zip
Make a couple of locally used callbacks static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18067 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/menus/recording_menu.c4
-rw-r--r--apps/root_menu.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/menus/recording_menu.c b/apps/menus/recording_menu.c
index c13edfa157..b3b33b7f52 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 de01ff8371..bee17f183e 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)
{