aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer/alsa_mixer.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-25 17:37:52 +0100
committerMax Kellermann <max@duempel.org>2009-01-25 17:37:52 +0100
commitad8561bfdc76d05812efc7fa802df48c37fcf770 (patch)
tree5b6c4970ac0df54f41ed362159b5b456d1d815bf /src/mixer/alsa_mixer.c
parent899eb5383d7d0cdd6cd9bc2987d12fa87670fdc5 (diff)
downloadmpd-ad8561bfdc76d05812efc7fa802df48c37fcf770.tar.gz
mpd-ad8561bfdc76d05812efc7fa802df48c37fcf770.tar.xz
mpd-ad8561bfdc76d05812efc7fa802df48c37fcf770.zip
mixer: make all mixer_plugin pointers const
The plugin structures must never be modified.
Diffstat (limited to 'src/mixer/alsa_mixer.c')
-rw-r--r--src/mixer/alsa_mixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mixer/alsa_mixer.c b/src/mixer/alsa_mixer.c
index aafc8f5d9..36ae76cc9 100644
--- a/src/mixer/alsa_mixer.c
+++ b/src/mixer/alsa_mixer.c
@@ -237,7 +237,7 @@ alsa_mixer_control(struct mixer_data *data, int cmd, void *arg)
return false;
}
-struct mixer_plugin alsa_mixer = {
+const struct mixer_plugin alsa_mixer = {
.init = alsa_mixer_init,
.finish = alsa_mixer_finish,
.configure = alsa_mixer_configure,