diff options
author | Max Kellermann <max@duempel.org> | 2009-01-25 17:37:52 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-25 17:37:52 +0100 |
commit | ad8561bfdc76d05812efc7fa802df48c37fcf770 (patch) | |
tree | 5b6c4970ac0df54f41ed362159b5b456d1d815bf /src/mixer_api.c | |
parent | 899eb5383d7d0cdd6cd9bc2987d12fa87670fdc5 (diff) | |
download | mpd-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 '')
-rw-r--r-- | src/mixer_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mixer_api.c b/src/mixer_api.c index efeac9f81..bd5e1ca05 100644 --- a/src/mixer_api.c +++ b/src/mixer_api.c @@ -21,7 +21,7 @@ #include "mixer_api.h" -void mixer_init(struct mixer *mixer, struct mixer_plugin *plugin) +void mixer_init(struct mixer *mixer, const struct mixer_plugin *plugin) { assert(plugin != NULL); assert(mixer != NULL); |