From 05707cc57069cb5acc85db6225d2c932ac354c43 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Fri, 12 Sep 2008 20:57:19 +0000 Subject: Make local function static in mp3_playback.c and match usb_init_device prototype to implementation for Archos recorder git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18504 a1c6a512-1295-4272-9138-f99709370657 --- firmware/mp3_playback.c | 2 +- firmware/target/sh/archos/recorder/usb-recorder.c | 1 + firmware/target/sh/usb-target.h | 2 +- 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 -- cgit v1.2.3