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

View File

@@ -20,7 +20,7 @@ void mixer_finish(struct mixer *mixer)
mixer->plugin = NULL;
}
void mixer_configure(struct mixer *mixer, struct config_param *param)
void mixer_configure(struct mixer *mixer, const struct config_param *param)
{
assert(mixer != NULL && mixer->plugin != NULL);
mixer->plugin->configure(mixer->data, param);