summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2007-10-21 11:02:51 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2007-10-21 11:02:51 +0000
commit47cdc8955271f7c2bd0e73c8b5ed0436c9003a8a (patch)
treed9e527718ba2398422233520fa24a404f6b327bb /firmware
parent11251f4555ceb4f7a3714676ad547174eae0a8f1 (diff)
Fixed warnings when logf is enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15243 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/system.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/system.c b/firmware/system.c
index 0b5ae1719e..c186163cf6 100644
--- a/firmware/system.c
+++ b/firmware/system.c
@@ -75,7 +75,10 @@ char * cpu_boost_log_getlog_first(void)
#if NUM_CORES > 1
spinlock_unlock(&boostctrl_spin);
#endif
+
+ return first;
}
+
char * cpu_boost_log_getlog_next(void)
{
int message;
@@ -97,7 +100,10 @@ char * cpu_boost_log_getlog_next(void)
#if NUM_CORES > 1
spinlock_unlock(&boostctrl_spin);
#endif
+
+ return next;
}
+
void cpu_boost_(bool on_off, char* location, int line)
{
#if NUM_CORES > 1