summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-03-03 20:26:08 +0100
committerThomas Martitz <kugel@rockbox.org>2014-03-03 20:26:08 +0100
commit68768260e867a9638f5bb0b5f37a2bcf4c1a34d1 (patch)
tree19971636190126c3aba9477bd7329f1ad11b5278 /lib
parentc245de029dc0d2166bd1da0c0cff3795530187a1 (diff)
downloadrockbox-68768260e867a9638f5bb0b5f37a2bcf4c1a34d1.tar.gz
rockbox-68768260e867a9638f5bb0b5f37a2bcf4c1a34d1.tar.bz2
rockbox-68768260e867a9638f5bb0b5f37a2bcf4c1a34d1.zip
Fix more reds.
Change-Id: I4b58dda0953b7f9799238c32b78037b0a5403c04
Diffstat (limited to 'lib')
-rw-r--r--lib/rbcodec/test/warble.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/lib/rbcodec/test/warble.c b/lib/rbcodec/test/warble.c
index cbecc305bf..6c8442ae26 100644
--- a/lib/rbcodec/test/warble.c
+++ b/lib/rbcodec/test/warble.c
@@ -625,13 +625,7 @@ static void ci_logf(const char *fmt, ...)
}
#endif
-static void ci_yield(void)
-{
-}
-
-static void commit_dcache(void) {}
-static void commit_discard_dcache(void) {}
-static void commit_discard_idcache(void) {}
+static void stub_void_void(void) { }
static struct codec_api ci = {
@@ -654,7 +648,7 @@ static struct codec_api ci = {
ci_should_loop,
ci_sleep,
- ci_yield,
+ stub_void_void, /* yield */
#if NUM_CORES > 1
ci_create_thread,
@@ -665,9 +659,9 @@ static struct codec_api ci = {
ci_semaphore_release,
#endif
- commit_dcache,
- commit_discard_dcache,
- commit_discard_idcache,
+ stub_void_void, /* commit_dcache */
+ stub_void_void, /* commit_discard_dcache */
+ stub_void_void, /* commit_discard_idcache */
/* strings and memory */
strcpy,