From e15f8a21a971920558a6f463586b16a0ee49ad79 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sat, 3 May 2008 08:35:14 +0000 Subject: 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 --- apps/recorder/keyboard.c | 1 + apps/recorder/radio.c | 3 ++- apps/recorder/recording.c | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'apps/recorder') diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index 6788db8452..ae7666f788 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c @@ -34,6 +34,7 @@ #include "icon.h" #include "pcmbuf.h" #include "lang.h" +#include "keyboard.h" #ifndef O_BINARY #define O_BINARY 0 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; diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 4c8da8c3bd..6a2b9257d4 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c @@ -66,6 +66,8 @@ #include "screen_access.h" #include "action.h" #include "radio.h" +#include "sound_menu.h" + #ifdef HAVE_RECORDING /* This array holds the record timer interval lengths, in seconds */ static const unsigned long rec_timer_seconds[] = -- cgit v1.2.3