include cleanup using iwyu

This commit is contained in:
Max Kellermann
2013-11-28 11:50:54 +01:00
parent 46bab7e4b9
commit f90abe9530
185 changed files with 114 additions and 338 deletions

View File

@@ -19,7 +19,7 @@
#include "config.h"
#include "MixerInternal.hxx"
#include "OutputAPI.hxx"
#include "ConfigData.hxx"
#include "system/fd_util.h"
#include "util/ASCII.hxx"
#include "util/Error.hxx"
@@ -28,10 +28,8 @@
#include <assert.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>

View File

@@ -26,7 +26,6 @@
#include "util/Domain.hxx"
#include "Log.hxx"
#include <pulse/thread-mainloop.h>
#include <pulse/context.h>
#include <pulse/introspect.h>
#include <pulse/stream.h>
@@ -34,7 +33,6 @@
#include <pulse/error.h>
#include <assert.h>
#include <string.h>
struct PulseMixer final : public Mixer {
PulseOutput *output;

View File

@@ -20,20 +20,17 @@
#ifndef MPD_PULSE_MIXER_PLUGIN_HXX
#define MPD_PULSE_MIXER_PLUGIN_HXX
#include <pulse/def.h>
struct PulseMixer;
struct pa_context;
struct pa_stream;
void
pulse_mixer_on_connect(PulseMixer *pm, struct pa_context *context);
pulse_mixer_on_connect(PulseMixer *pm, pa_context *context);
void
pulse_mixer_on_disconnect(PulseMixer *pm);
void
pulse_mixer_on_change(PulseMixer *pm,
struct pa_context *context, struct pa_stream *stream);
pulse_mixer_on_change(PulseMixer *pm, pa_context *context, pa_stream *stream);
#endif

View File

@@ -21,8 +21,8 @@
#include "config.h"
#include "MixerInternal.hxx"
#include "OutputAPI.hxx"
#include "output/RoarOutputPlugin.hxx"
#include "Compiler.h"
struct RoarMixer final : public Mixer {
/** the base mixer class */