summaryrefslogtreecommitdiff
path: root/apps/recorder/radio.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-05-03 08:35:14 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-05-03 08:35:14 +0000
commite15f8a21a971920558a6f463586b16a0ee49ad79 (patch)
tree91d6771d0979c43e5390dc1de0ba79cd0638ba25 /apps/recorder/radio.c
parent9c1ab1f0572da9d68f45fc8cb6c361cee0b33376 (diff)
Made source files #include the header file that they implement to make sure they are in sync. Made some local functions static.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17312 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/radio.c')
-rw-r--r--apps/recorder/radio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index 3a15d4f721..f4b643de94 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -1278,7 +1278,8 @@ MENUITEM_FUNCTION(radio_edit_preset_item, MENU_FUNC_CHECK_RETVAL,
MENUITEM_FUNCTION(radio_delete_preset_item, MENU_FUNC_CHECK_RETVAL,
ID2P(LANG_FM_DELETE_PRESET),
radio_delete_preset, NULL, NULL, Icon_NOICON);
-int radio_preset_callback(int action, const struct menu_item_ex *this_item)
+static int radio_preset_callback(int action,
+ const struct menu_item_ex *this_item)
{
if (action == ACTION_STD_OK)
action = ACTION_EXIT_AFTER_THIS_MENUITEM;