summaryrefslogtreecommitdiff
path: root/apps/recorder
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
parent9c1ab1f0572da9d68f45fc8cb6c361cee0b33376 (diff)
downloadrockbox-e15f8a21a971920558a6f463586b16a0ee49ad79.tar.gz
rockbox-e15f8a21a971920558a6f463586b16a0ee49ad79.zip
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')
-rw-r--r--apps/recorder/keyboard.c1
-rw-r--r--apps/recorder/radio.c3
-rw-r--r--apps/recorder/recording.c2
3 files changed, 5 insertions, 1 deletions
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 @@
34#include "icon.h" 34#include "icon.h"
35#include "pcmbuf.h" 35#include "pcmbuf.h"
36#include "lang.h" 36#include "lang.h"
37#include "keyboard.h"
37 38
38#ifndef O_BINARY 39#ifndef O_BINARY
39#define O_BINARY 0 40#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,
1278MENUITEM_FUNCTION(radio_delete_preset_item, MENU_FUNC_CHECK_RETVAL, 1278MENUITEM_FUNCTION(radio_delete_preset_item, MENU_FUNC_CHECK_RETVAL,
1279 ID2P(LANG_FM_DELETE_PRESET), 1279 ID2P(LANG_FM_DELETE_PRESET),
1280 radio_delete_preset, NULL, NULL, Icon_NOICON); 1280 radio_delete_preset, NULL, NULL, Icon_NOICON);
1281int radio_preset_callback(int action, const struct menu_item_ex *this_item) 1281static int radio_preset_callback(int action,
1282 const struct menu_item_ex *this_item)
1282{ 1283{
1283 if (action == ACTION_STD_OK) 1284 if (action == ACTION_STD_OK)
1284 action = ACTION_EXIT_AFTER_THIS_MENUITEM; 1285 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 @@
66#include "screen_access.h" 66#include "screen_access.h"
67#include "action.h" 67#include "action.h"
68#include "radio.h" 68#include "radio.h"
69#include "sound_menu.h"
70
69#ifdef HAVE_RECORDING 71#ifdef HAVE_RECORDING
70/* This array holds the record timer interval lengths, in seconds */ 72/* This array holds the record timer interval lengths, in seconds */
71static const unsigned long rec_timer_seconds[] = 73static const unsigned long rec_timer_seconds[] =