summaryrefslogtreecommitdiff
path: root/lib/rbcodec/test/warble.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/test/warble.c')
-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, ...)
625} 625}
626#endif 626#endif
627 627
628static void ci_yield(void) 628static void stub_void_void(void) { }
629{
630}
631
632static void commit_dcache(void) {}
633static void commit_discard_dcache(void) {}
634static void commit_discard_idcache(void) {}
635 629
636static struct codec_api ci = { 630static struct codec_api ci = {
637 631
@@ -654,7 +648,7 @@ static struct codec_api ci = {
654 ci_should_loop, 648 ci_should_loop,
655 649
656 ci_sleep, 650 ci_sleep,
657 ci_yield, 651 stub_void_void, /* yield */
658 652
659#if NUM_CORES > 1 653#if NUM_CORES > 1
660 ci_create_thread, 654 ci_create_thread,
@@ -665,9 +659,9 @@ static struct codec_api ci = {
665 ci_semaphore_release, 659 ci_semaphore_release,
666#endif 660#endif
667 661
668 commit_dcache, 662 stub_void_void, /* commit_dcache */
669 commit_discard_dcache, 663 stub_void_void, /* commit_discard_dcache */
670 commit_discard_idcache, 664 stub_void_void, /* commit_discard_idcache */
671 665
672 /* strings and memory */ 666 /* strings and memory */
673 strcpy, 667 strcpy,