aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_init.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-25 16:03:49 +0100
committerMax Kellermann <max@duempel.org>2009-01-25 16:03:49 +0100
commit5f7791009790dc40f2d76be310ffeab55c242ced (patch)
tree5e26d9d5f873a76fe61c6403a69ae123b0d57ad3 /src/output_init.c
parent80799fa84eb4330083e4de20b87f97beea7d6ba7 (diff)
downloadmpd-5f7791009790dc40f2d76be310ffeab55c242ced.tar.gz
mpd-5f7791009790dc40f2d76be310ffeab55c242ced.tar.xz
mpd-5f7791009790dc40f2d76be310ffeab55c242ced.zip
conf: const pointers in block get functions
All config_get_block_*() functions should accept constant config_param pointers.
Diffstat (limited to 'src/output_init.c')
-rw-r--r--src/output_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output_init.c b/src/output_init.c
index a0c75a5da..6d974bdb8 100644
--- a/src/output_init.c
+++ b/src/output_init.c
@@ -39,7 +39,7 @@
}
int
-audio_output_init(struct audio_output *ao, struct config_param *param)
+audio_output_init(struct audio_output *ao, const struct config_param *param)
{
const char *name = NULL;
char *format = NULL;