diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2008-09-12 20:57:19 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2008-09-12 20:57:19 +0000 |
commit | 05707cc57069cb5acc85db6225d2c932ac354c43 (patch) | |
tree | 564dc1107670a65abe281f02f86e6289926417b4 | |
parent | d02c85049a7903397fc70ad91fa6592ba7b5256c (diff) | |
download | rockbox-05707cc57069cb5acc85db6225d2c932ac354c43.tar.gz rockbox-05707cc57069cb5acc85db6225d2c932ac354c43.zip |
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
-rw-r--r-- | firmware/mp3_playback.c | 2 | ||||
-rw-r--r-- | firmware/target/sh/archos/recorder/usb-recorder.c | 1 | ||||
-rw-r--r-- | 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) | |||
151 | #endif /* #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) */ | 151 | #endif /* #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) */ |
152 | 152 | ||
153 | 153 | ||
154 | void play_tick(void) | 154 | static void play_tick(void) |
155 | { | 155 | { |
156 | if(playing && !paused) | 156 | if(playing && !paused) |
157 | { | 157 | { |
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 @@ | |||
25 | #include "hwcompat.h" | 25 | #include "hwcompat.h" |
26 | #include "system.h" | 26 | #include "system.h" |
27 | #include "usb.h" | 27 | #include "usb.h" |
28 | #include "usb-target.h" | ||
28 | 29 | ||
29 | int usb_detect(void) | 30 | int usb_detect(void) |
30 | { | 31 | { |
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 @@ | |||
21 | #ifndef USB_TARGET_H | 21 | #ifndef USB_TARGET_H |
22 | #define USB_TARGET_H | 22 | #define USB_TARGET_H |
23 | 23 | ||
24 | bool usb_init_device(void); | 24 | void usb_init_device(void); |
25 | 25 | ||
26 | #endif | 26 | #endif |