Include fixes 2 (#296)

Remove redundant includes
This commit is contained in:
carlo-bramini 2017-12-03 13:12:27 +01:00 committed by Tom M
parent 8525e420b0
commit cdfe8d3d7d
11 changed files with 3 additions and 28 deletions

View file

@ -22,10 +22,8 @@
* Low-level routines for file output. * Low-level routines for file output.
*/ */
#include <stdio.h>
#include "fluidsynth_priv.h"
#include "fluid_synth.h"
#include "fluid_sys.h" #include "fluid_sys.h"
#include "fluid_synth.h"
#include "fluid_settings.h" #include "fluid_settings.h"
#if LIBSNDFILE_SUPPORT #if LIBSNDFILE_SUPPORT

View file

@ -34,13 +34,7 @@
#define ALSA_PCM_NEW_HW_PARAMS_API #define ALSA_PCM_NEW_HW_PARAMS_API
#include <alsa/asoundlib.h> #include <alsa/asoundlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <sys/poll.h> #include <sys/poll.h>
#include <glib.h>
#include "config.h"
#include "fluid_lash.h" #include "fluid_lash.h"

View file

@ -24,11 +24,9 @@
* *
*/ */
#include "fluid_sys.h"
#include "fluid_adriver.h" #include "fluid_adriver.h"
#include "fluid_settings.h" #include "fluid_settings.h"
#include "fluid_sys.h"
#include "config.h"
#include <stdio.h>
/** fluid_file_audio_driver_t /** fluid_file_audio_driver_t

View file

@ -30,8 +30,6 @@
#include "fluid_mdriver.h" #include "fluid_mdriver.h"
#include "fluid_settings.h" #include "fluid_settings.h"
#include "config.h"
#if COREAUDIO_SUPPORT #if COREAUDIO_SUPPORT
#include <CoreServices/CoreServices.h> #include <CoreServices/CoreServices.h>
#include <CoreAudio/CoreAudioTypes.h> #include <CoreAudio/CoreAudioTypes.h>

View file

@ -28,7 +28,6 @@
* *
*/ */
#include "fluidsynth_priv.h"
#include "fluid_sys.h" #include "fluid_sys.h"
#include "fluid_synth.h" #include "fluid_synth.h"
#include "fluid_adriver.h" #include "fluid_adriver.h"
@ -38,7 +37,6 @@
#include <jack/jack.h> #include <jack/jack.h>
#include <jack/midiport.h> #include <jack/midiport.h>
#include "config.h"
#include "fluid_lash.h" #include "fluid_lash.h"

View file

@ -28,8 +28,6 @@
#include "fluid_adriver.h" #include "fluid_adriver.h"
#include "fluid_settings.h" #include "fluid_settings.h"
#include "config.h"
#if PULSE_SUPPORT #if PULSE_SUPPORT
#include <pulse/simple.h> #include <pulse/simple.h>

View file

@ -28,7 +28,6 @@
*/ */
#include "fluid_event_priv.h" #include "fluid_event_priv.h"
#include "fluidsynth_priv.h" // FLUID_NEW, etc
#include "fluid_sys.h" // timer, threads, etc... #include "fluid_sys.h" // timer, threads, etc...
#include "fluid_list.h" #include "fluid_list.h"

View file

@ -18,8 +18,6 @@
* 02110-1301, USA * 02110-1301, USA
*/ */
#include <math.h>
#include "fluid_synth.h" #include "fluid_synth.h"
#include "fluid_sys.h" #include "fluid_sys.h"
#include "fluid_chan.h" #include "fluid_chan.h"

View file

@ -28,17 +28,13 @@
* INCLUDES * INCLUDES
*/ */
#if HAVE_CONFIG_H #include "fluid_sys.h"
#include "config.h"
#endif
#include "fluidsynth_priv.h"
#include "fluid_list.h" #include "fluid_list.h"
#include "fluid_rev.h" #include "fluid_rev.h"
#include "fluid_voice.h" #include "fluid_voice.h"
#include "fluid_chorus.h" #include "fluid_chorus.h"
#include "fluid_ladspa.h" #include "fluid_ladspa.h"
#include "fluid_midi_router.h" #include "fluid_midi_router.h"
#include "fluid_sys.h"
#include "fluid_rvoice_event.h" #include "fluid_rvoice_event.h"
/*************************************************************** /***************************************************************

View file

@ -18,7 +18,6 @@
* 02110-1301, USA * 02110-1301, USA
*/ */
#include "fluidsynth_priv.h"
#include "fluid_sys.h" #include "fluid_sys.h"
#include "fluid_hash.h" #include "fluid_hash.h"
#include "fluid_synth.h" #include "fluid_synth.h"

View file

@ -129,7 +129,6 @@ typedef guint64 uint64_t;
#if defined(WIN32) && HAVE_WINDOWS_H #if defined(WIN32) && HAVE_WINDOWS_H
#include <winsock2.h> #include <winsock2.h>
#include <ws2tcpip.h> /* Provides also socklen_t */ #include <ws2tcpip.h> /* Provides also socklen_t */
#include <windows.h>
/* WIN32 special defines */ /* WIN32 special defines */
#define DSOUND_SUPPORT 1 #define DSOUND_SUPPORT 1