summaryrefslogtreecommitdiffstats
path: root/apps/root_menu.c
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/root_menu.c
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/root_menu.c')
-rw-r--r--apps/root_menu.c4
1 files changed, 2 insertions, 2 deletions
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)
{