[beast: 2/39] BSE: remove useless includes
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 2/39] BSE: remove useless includes
- Date: Sun, 13 Sep 2015 20:27:06 +0000 (UTC)
commit 601182ee9d29a1e2002892990f935d50f9514bc3
Author: Tim Janik <timj gnu org>
Date: Fri Sep 11 14:52:58 2015 +0200
BSE: remove useless includes
bse/bseautodoc.cc | 1 -
bse/bsemididevice-oss.cc | 1 -
bse/bsepcmdevice-oss.cc | 26 ++++++++++++--------------
bse/bsequery.cc | 23 +++++++++++------------
bse/bseutils.cc | 1 -
5 files changed, 23 insertions(+), 29 deletions(-)
---
diff --git a/bse/bseautodoc.cc b/bse/bseautodoc.cc
index ce89007..70712a2 100644
--- a/bse/bseautodoc.cc
+++ b/bse/bseautodoc.cc
@@ -3,7 +3,6 @@
#include "bsecategories.hh"
#include "bseprocedure.hh"
#include "bsesource.hh"
-#include "topconfig.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/bse/bsemididevice-oss.cc b/bse/bsemididevice-oss.cc
index e84bfa6..ccff55e 100644
--- a/bse/bsemididevice-oss.cc
+++ b/bse/bsemididevice-oss.cc
@@ -4,7 +4,6 @@
#include "bsemididecoder.hh"
#include "gslcommon.hh" // FIXME: remove
#include "bsesequencer.hh"
-#include "topconfig.h"
#ifndef BSE_MIDI_DEVICE_CONF_OSS
BSE_DUMMY_TYPE (BseMidiDeviceOSS);
diff --git a/bse/bsepcmdevice-oss.cc b/bse/bsepcmdevice-oss.cc
index 02988b0..5443e8c 100644
--- a/bse/bsepcmdevice-oss.cc
+++ b/bse/bsepcmdevice-oss.cc
@@ -1,27 +1,25 @@
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
-#include "bsepcmdevice-oss.hh"
+#include "bsepcmdevice-oss.hh"
-#include "topconfig.h"
-
-#include "gsldatautils.hh"
-#include "gslcommon.hh" // FIXME: remove
+#include "gsldatautils.hh"
+#include "gslcommon.hh" // FIXME: remove
#ifndef BSE_PCM_DEVICE_CONF_OSS
BSE_DUMMY_TYPE (BsePcmDeviceOSS);
#else /* BSE_PCM_DEVICE_CONF_OSS */
#if HAVE_SYS_SOUNDCARD_H
-#include <sys/soundcard.h>
+#include <sys/soundcard.h>
#elif HAVE_SOUNDCARD_H
-#include <soundcard.h>
+#include <soundcard.h>
#endif
-#include <sys/ioctl.h>
-#include <sys/types.h>
-#include <sys/time.h>
-#include <unistd.h>
-#include <string.h>
-#include <errno.h>
-#include <fcntl.h>
+#include <sys/ioctl.h>
+#include <sys/types.h>
+#include <sys/time.h>
+#include <unistd.h>
+#include <string.h>
+#include <errno.h>
+#include <fcntl.h>
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
#define AFMT_S16_HE AFMT_S16_LE
diff --git a/bse/bsequery.cc b/bse/bsequery.cc
index 2326ede..20cd035 100644
--- a/bse/bsequery.cc
+++ b/bse/bsequery.cc
@@ -1,16 +1,15 @@
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
-#include "bsecategories.hh"
-#include "bsesource.hh"
-#include "bseprocedure.hh"
-#include "bsemain.hh"
-#include "bsestandardsynths.hh"
-#include "topconfig.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-#include <sys/stat.h>
-#include <fcntl.h>
+#include "bsecategories.hh"
+#include "bsesource.hh"
+#include "bseprocedure.hh"
+#include "bsemain.hh"
+#include "bsestandardsynths.hh"
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <sys/stat.h>
+#include <fcntl.h>
static gchar *indent_inc = NULL;
static guint spacing = 1;
diff --git a/bse/bseutils.cc b/bse/bseutils.cc
index ad6b862..bd1168a 100644
--- a/bse/bseutils.cc
+++ b/bse/bseutils.cc
@@ -1,5 +1,4 @@
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
-#include "topconfig.h"
#include "bseutils.hh"
#include "gsldatautils.hh"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]