From 8de179ef7b65f06c9f767d2401bacc9422750107 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 9 Mar 2009 19:11:13 +0100 Subject: [PATCH] output_control: make audio_output_open() static audio_output_open() is only called by audio_output_update(). Don't export it. --- src/output_control.c | 2 +- src/output_control.h | 4 ---- 2 files changed, 1 insertion(+), 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. *