aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-01-10 21:08:03 +0100
committerMax Kellermann <max@duempel.org>2011-01-10 21:08:16 +0100
commitacca6a799b523b0f068910834f31d9a7056fea2a (patch)
tree35074eb01364e9a08218fd4ee622f1d35dcbc94e /src
parentb77e62260aa1f3d36d742d947610c13f235bb67a (diff)
downloadmpd-acca6a799b523b0f068910834f31d9a7056fea2a.tar.gz
mpd-acca6a799b523b0f068910834f31d9a7056fea2a.tar.xz
mpd-acca6a799b523b0f068910834f31d9a7056fea2a.zip
decoder_control: remove unused function dc_command_wait()
Only dc_command_wait_locked() is really being used.
Diffstat (limited to '')
-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.
*