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/oss_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 '')
-rw-r--r-- | src/output/oss_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/oss_plugin.c b/src/output/oss_plugin.c index e83a05c5a..b27aa1b77 100644 --- a/src/output/oss_plugin.c +++ b/src/output/oss_plugin.c @@ -344,7 +344,7 @@ static bool oss_testDefault(void) return false; } -static void *oss_open_default(struct config_param *param) +static void *oss_open_default(const struct config_param *param) { int i; int err[G_N_ELEMENTS(default_devices)]; @@ -390,7 +390,7 @@ static void *oss_open_default(struct config_param *param) static void * oss_initDriver(G_GNUC_UNUSED struct audio_output *audioOutput, G_GNUC_UNUSED const struct audio_format *audio_format, - struct config_param *param) + const struct config_param *param) { if (param) { const char *device = |