diff options
author | Max Kellermann <max@duempel.org> | 2009-01-25 16:03:49 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-25 16:03:49 +0100 |
commit | 5f7791009790dc40f2d76be310ffeab55c242ced (patch) | |
tree | 5e26d9d5f873a76fe61c6403a69ae123b0d57ad3 /src/output/alsa_plugin.c | |
parent | 80799fa84eb4330083e4de20b87f97beea7d6ba7 (diff) | |
download | mpd-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/alsa_plugin.c')
-rw-r--r-- | src/output/alsa_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/alsa_plugin.c b/src/output/alsa_plugin.c index 3ad502ba2..536d399d1 100644 --- a/src/output/alsa_plugin.c +++ b/src/output/alsa_plugin.c @@ -108,7 +108,7 @@ alsa_data_free(struct alsa_data *ad) } static void -alsa_configure(struct alsa_data *ad, struct config_param *param) +alsa_configure(struct alsa_data *ad, const struct config_param *param) { ad->device = config_dup_block_string(param, "device", NULL); @@ -138,7 +138,7 @@ alsa_configure(struct alsa_data *ad, struct config_param *param) static void * alsa_init(G_GNUC_UNUSED struct audio_output *ao, G_GNUC_UNUSED const struct audio_format *audio_format, - struct config_param *param) + const struct config_param *param) { /* no need for pthread_once thread-safety when reading config */ static int free_global_registered; |