diff options
author | Max Kellermann <max@duempel.org> | 2009-03-14 11:47:54 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-14 11:47:54 +0100 |
commit | 82963ee0238ec9977161b27183294d39a817336f (patch) | |
tree | d4b79ef1458a14c03622938e4b925c3739a8a2bb | |
parent | b488355df8b652956131fdc77edae48acabd9f72 (diff) | |
download | mpd-82963ee0238ec9977161b27183294d39a817336f.tar.gz mpd-82963ee0238ec9977161b27183294d39a817336f.tar.xz mpd-82963ee0238ec9977161b27183294d39a817336f.zip |
mixer_api: moved mixer_init() to mixer_api.c
-rw-r--r-- | src/mixer_api.c | 11 | ||||
-rw-r--r-- | src/mixer_api.h | 7 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/mixer_api.c b/src/mixer_api.c index 3c9f54e14..1e0aabb10 100644 --- a/src/mixer_api.c +++ b/src/mixer_api.c @@ -17,12 +17,15 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include <stdio.h> -#include <assert.h> +#include "mixer_api.h" #include <glib.h> -#include "mixer_api.h" - #undef G_LOG_DOMAIN #define G_LOG_DOMAIN "mixer" + +void +mixer_init(struct mixer *mixer, const struct mixer_plugin *plugin) +{ + mixer->plugin = plugin; +} diff --git a/src/mixer_api.h b/src/mixer_api.h index a29b79a0b..62c277b9d 100644 --- a/src/mixer_api.h +++ b/src/mixer_api.h @@ -27,10 +27,7 @@ struct mixer { const struct mixer_plugin *plugin; }; -static inline void -mixer_init(struct mixer *mixer, const struct mixer_plugin *plugin) -{ - mixer->plugin = plugin; -} +void +mixer_init(struct mixer *mixer, const struct mixer_plugin *plugin); #endif |