aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-16 18:40:04 +0100
committerMax Kellermann <max@duempel.org>2009-02-16 18:40:04 +0100
commit02c99d7716a803f97f43da59219c6fd9e02c3804 (patch)
tree7d1e48ead1d54a8cb7cc9a25d47b59b2d3432c60
parent46c15e4ab3aa4b0a973345afe704e80c2e8122e9 (diff)
downloadmpd-02c99d7716a803f97f43da59219c6fd9e02c3804.tar.gz
mpd-02c99d7716a803f97f43da59219c6fd9e02c3804.tar.xz
mpd-02c99d7716a803f97f43da59219c6fd9e02c3804.zip
mixer: include cleanup
Don't include conf.h in mixer_api.h. Use a forward struct declaration instead.
Diffstat (limited to '')
-rw-r--r--src/audio.c1
-rw-r--r--src/mixer_api.h4
2 files changed, 4 insertions, 1 deletions
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 <glib.h>
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 <stdbool.h>
/*
* 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.