summaryrefslogtreecommitdiff
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
parenta12894c6dc53156ac6af2d270f1ce31f45a2aa17 (diff)
downloadrockbox-dff382cb9c94f36246ed5aeea1ef4ddb26686588.tar.gz
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
-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 @@
71#include "viewport.h" 71#include "viewport.h"
72 72
73static bool no_source_in_menu = false; 73static bool no_source_in_menu = false;
74int recmenu_callback(int action,const struct menu_item_ex *this_item); 74static int recmenu_callback(int action,const struct menu_item_ex *this_item);
75 75
76static int recsource_func(void) 76static int recsource_func(void)
77{ 77{
@@ -295,7 +295,7 @@ MENUITEM_FUNCTION(enc_global_config_menu_item, 0, ID2P(LANG_ENCODER_SETTINGS),
295#endif /* CONFIG_CODEC == SWCODEC */ 295#endif /* CONFIG_CODEC == SWCODEC */
296 296
297 297
298int recmenu_callback(int action,const struct menu_item_ex *this_item) 298static int recmenu_callback(int action,const struct menu_item_ex *this_item)
299{ 299{
300 switch (action) 300 switch (action)
301 { 301 {
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[] = {
345}; 345};
346static const int nb_items = sizeof(items)/sizeof(*items); 346static const int nb_items = sizeof(items)/sizeof(*items);
347 347
348int item_callback(int action, const struct menu_item_ex *this_item) ; 348static int item_callback(int action, const struct menu_item_ex *this_item) ;
349 349
350MENUITEM_RETURNVALUE(file_browser, ID2P(LANG_DIR_BROWSER), GO_TO_FILEBROWSER, 350MENUITEM_RETURNVALUE(file_browser, ID2P(LANG_DIR_BROWSER), GO_TO_FILEBROWSER,
351 NULL, Icon_file_view_menu); 351 NULL, Icon_file_view_menu);
@@ -411,7 +411,7 @@ MAKE_MENU(root_menu_, ID2P(LANG_ROCKBOX_TITLE),
411#endif 411#endif
412 ); 412 );
413 413
414int item_callback(int action, const struct menu_item_ex *this_item) 414static int item_callback(int action, const struct menu_item_ex *this_item)
415{ 415{
416 switch (action) 416 switch (action)
417 { 417 {