From 02c99d7716a803f97f43da59219c6fd9e02c3804 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 16 Feb 2009 18:40:04 +0100 Subject: [PATCH] mixer: include cleanup Don't include conf.h in mixer_api.h. Use a forward struct declaration instead. --- src/audio.c | 1 + src/mixer_api.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/audio.c b/src/audio.c index efd0e3d93..8c5132199 100644 --- a/src/audio.c +++ b/src/audio.c @@ -23,6 +23,7 @@ #include "output_plugin.h" #include "output_all.h" #include "mixer_api.h" +#include "conf.h" #include diff --git a/src/mixer_api.h b/src/mixer_api.h index 8dbbbe820..48f962ed7 100644 --- a/src/mixer_api.h +++ b/src/mixer_api.h @@ -19,7 +19,7 @@ #ifndef MPD_MIXER_H #define MPD_MIXER_H -#include "conf.h" +#include /* * list of currently implemented mixers @@ -28,6 +28,8 @@ extern const struct mixer_plugin alsa_mixer; extern const struct mixer_plugin oss_mixer; +struct config_param; + struct mixer_plugin { /** * Alocates and configures a mixer device.