aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/decoder_control.c8
-rw-r--r--src/decoder_control.h3
2 files changed, 0 insertions, 11 deletions
diff --git a/src/decoder_control.c b/src/decoder_control.c
index 2ad7dbef9..a570b2441 100644
--- a/src/decoder_control.c
+++ b/src/decoder_control.c
@@ -68,14 +68,6 @@ dc_command_wait_locked(struct decoder_control *dc)
player_wait_decoder(dc->player_control, dc);
}
-void
-dc_command_wait(struct decoder_control *dc)
-{
- decoder_lock(dc);
- dc_command_wait_locked(dc);
- decoder_unlock(dc);
-}
-
static void
dc_command_locked(struct decoder_control *dc, enum decoder_command cmd)
{
diff --git a/src/decoder_control.h b/src/decoder_control.h
index 13b894685..f0e369c71 100644
--- a/src/decoder_control.h
+++ b/src/decoder_control.h
@@ -226,9 +226,6 @@ decoder_current_song(const struct decoder_control *dc)
return NULL;
}
-void
-dc_command_wait(struct decoder_control *dc);
-
/**
* Start the decoder.
*