conf: const pointers in block get functions

All config_get_block_*() functions should accept constant config_param
pointers.
This commit is contained in:
Max Kellermann
2009-01-25 16:03:49 +01:00
parent 80799fa84e
commit 5f77910097
27 changed files with 49 additions and 49 deletions
+2 -2
View File
@@ -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;