diff options
author | Max Kellermann <max@duempel.org> | 2009-03-09 19:11:13 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-09 19:11:13 +0100 |
commit | 8de179ef7b65f06c9f767d2401bacc9422750107 (patch) | |
tree | 23f60206ab4cd5bc3c4c0d95e72a074b34d21e62 | |
parent | c5c86452ce9e53a8d3c5e6cccf660c5a17636f0a (diff) | |
download | mpd-8de179ef7b65f06c9f767d2401bacc9422750107.tar.gz mpd-8de179ef7b65f06c9f767d2401bacc9422750107.tar.xz mpd-8de179ef7b65f06c9f767d2401bacc9422750107.zip |
output_control: make audio_output_open() static
audio_output_open() is only called by audio_output_update(). Don't
export it.
Diffstat (limited to '')
-rw-r--r-- | src/output_control.c | 2 | ||||
-rw-r--r-- | src/output_control.h | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/output_control.c b/src/output_control.c index a9c41f053..47bb844d5 100644 --- a/src/output_control.c +++ b/src/output_control.c @@ -55,7 +55,7 @@ static void ao_command_async(struct audio_output *ao, notify_signal(&ao->notify); } -bool +static bool audio_output_open(struct audio_output *ao, const struct audio_format *audio_format) { diff --git a/src/output_control.h b/src/output_control.h index dadda860d..fe3233e69 100644 --- a/src/output_control.h +++ b/src/output_control.h @@ -39,10 +39,6 @@ bool audio_output_init(struct audio_output *ao, const struct config_param *param, GError **error); -bool -audio_output_open(struct audio_output *ao, - const struct audio_format *audio_format); - /** * Opens or closes the device, depending on the "enabled" flag. * |