diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2008-07-16 12:10:49 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2008-07-16 12:10:49 +0000 |
commit | dff382cb9c94f36246ed5aeea1ef4ddb26686588 (patch) | |
tree | bc31dda29d91347c914a5384abf02c90a307d295 /apps | |
parent | a12894c6dc53156ac6af2d270f1ce31f45a2aa17 (diff) | |
download | rockbox-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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/menus/recording_menu.c | 4 | ||||
-rw-r--r-- | 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 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 | ||
73 | static bool no_source_in_menu = false; | 73 | static bool no_source_in_menu = false; |
74 | int recmenu_callback(int action,const struct menu_item_ex *this_item); | 74 | static int recmenu_callback(int action,const struct menu_item_ex *this_item); |
75 | 75 | ||
76 | static int recsource_func(void) | 76 | static 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 | ||
298 | int recmenu_callback(int action,const struct menu_item_ex *this_item) | 298 | static 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 | }; |
346 | static const int nb_items = sizeof(items)/sizeof(*items); | 346 | static const int nb_items = sizeof(items)/sizeof(*items); |
347 | 347 | ||
348 | int item_callback(int action, const struct menu_item_ex *this_item) ; | 348 | static int item_callback(int action, const struct menu_item_ex *this_item) ; |
349 | 349 | ||
350 | MENUITEM_RETURNVALUE(file_browser, ID2P(LANG_DIR_BROWSER), GO_TO_FILEBROWSER, | 350 | MENUITEM_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 | ||
414 | int item_callback(int action, const struct menu_item_ex *this_item) | 414 | static int item_callback(int action, const struct menu_item_ex *this_item) |
415 | { | 415 | { |
416 | switch (action) | 416 | switch (action) |
417 | { | 417 | { |