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
+1 -1
View File
@@ -77,7 +77,7 @@ mixer_reconfigure(char *driver)
void volume_init(void)
{
struct config_param *param = config_get_param(CONF_MIXER_TYPE);
const struct config_param *param = config_get_param(CONF_MIXER_TYPE);
//hw mixing is by default
if (param) {
if (strcmp(param->value, VOLUME_MIXER_SOFTWARE) == 0) {