aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-09 19:11:13 +0100
committerMax Kellermann <max@duempel.org>2009-03-09 19:11:13 +0100
commit8de179ef7b65f06c9f767d2401bacc9422750107 (patch)
tree23f60206ab4cd5bc3c4c0d95e72a074b34d21e62 /src
parentc5c86452ce9e53a8d3c5e6cccf660c5a17636f0a (diff)
downloadmpd-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.c2
-rw-r--r--src/output_control.h4
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.
*