aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/read_tags.c9
-rw-r--r--test/run_decoder.c9
2 files changed, 18 insertions, 0 deletions
diff --git a/test/read_tags.c b/test/read_tags.c
index db2221c13..d38183667 100644
--- a/test/read_tags.c
+++ b/test/read_tags.c
@@ -25,6 +25,7 @@
#include "tag_ape.h"
#include "tag_id3.h"
#include "config.h"
+#include "idle.h"
#include <glib.h>
@@ -38,6 +39,14 @@
/**
* No-op dummy.
*/
+void
+idle_add(G_GNUC_UNUSED unsigned flags)
+{
+}
+
+/**
+ * No-op dummy.
+ */
bool
pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED int length,
G_GNUC_UNUSED const struct audio_format *format,
diff --git a/test/run_decoder.c b/test/run_decoder.c
index 861720cdb..3128c6121 100644
--- a/test/run_decoder.c
+++ b/test/run_decoder.c
@@ -22,6 +22,7 @@
#include "input_stream.h"
#include "audio_format.h"
#include "pcm_volume.h"
+#include "idle.h"
#include <glib.h>
@@ -31,6 +32,14 @@
/**
* No-op dummy.
*/
+void
+idle_add(G_GNUC_UNUSED unsigned flags)
+{
+}
+
+/**
+ * No-op dummy.
+ */
bool
pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED int length,
G_GNUC_UNUSED const struct audio_format *format,