summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/mp3_playback.c2
-rw-r--r--firmware/target/sh/archos/recorder/usb-recorder.c1
-rw-r--r--firmware/target/sh/usb-target.h2
3 files changed, 3 insertions, 2 deletions
diff --git a/firmware/mp3_playback.c b/firmware/mp3_playback.c
index 7c561e475f..66ea3159e3 100644
--- a/firmware/mp3_playback.c
+++ b/firmware/mp3_playback.c
@@ -151,7 +151,7 @@ void demand_irq_enable(bool on)
#endif /* #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) */
-void play_tick(void)
+static void play_tick(void)
{
if(playing && !paused)
{
diff --git a/firmware/target/sh/archos/recorder/usb-recorder.c b/firmware/target/sh/archos/recorder/usb-recorder.c
index f8b462b802..618f314c25 100644
--- a/firmware/target/sh/archos/recorder/usb-recorder.c
+++ b/firmware/target/sh/archos/recorder/usb-recorder.c
@@ -25,6 +25,7 @@
#include "hwcompat.h"
#include "system.h"
#include "usb.h"
+#include "usb-target.h"
int usb_detect(void)
{
diff --git a/firmware/target/sh/usb-target.h b/firmware/target/sh/usb-target.h
index 9871fdc983..d460ed11a7 100644
--- a/firmware/target/sh/usb-target.h
+++ b/firmware/target/sh/usb-target.h
@@ -21,6 +21,6 @@
#ifndef USB_TARGET_H
#define USB_TARGET_H
-bool usb_init_device(void);
+void usb_init_device(void);
#endif