summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-11-07 12:47:02 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-11-07 12:47:02 +0000
commitcb90622b41d826e7e316ce1e3c16e5a5c9d028ef (patch)
tree332fb8ea7be82946452c5628daf4ee0f6686f4b2 /ext
parentac872637ab3e94f9ef7d553a40994d1ba43eb80f (diff)
downloadgst-plugins-bad-cb90622b41d826e7e316ce1e3c16e5a5c9d028ef.tar.gz
gst-plugins-bad-cb90622b41d826e7e316ce1e3c16e5a5c9d028ef.tar.bz2
gst-plugins-bad-cb90622b41d826e7e316ce1e3c16e5a5c9d028ef.zip
Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes fro...
Original commit message from CVS: Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
Diffstat (limited to 'ext')
-rw-r--r--ext/arts/gst_arts.h1
-rw-r--r--ext/arts/gst_artsio_impl.cc4
-rw-r--r--ext/audiofile/gstaf.c3
-rw-r--r--ext/audiofile/gstafparse.h1
-rw-r--r--ext/audiofile/gstafsink.h1
-rw-r--r--ext/audiofile/gstafsrc.h1
-rw-r--r--ext/divx/gstdivxdec.c3
-rw-r--r--ext/divx/gstdivxenc.c3
-rw-r--r--ext/gsm/gstgsm.c3
-rw-r--r--ext/gsm/gstgsmdec.h1
-rw-r--r--ext/gsm/gstgsmenc.h1
-rw-r--r--ext/hermes/gstcolorspace.h1
-rw-r--r--ext/ivorbis/vorbisenc.h1
-rw-r--r--ext/jack/gstjackbin.c4
-rw-r--r--ext/ladspa/gstladspa.h1
-rw-r--r--ext/ladspa/load.c4
-rw-r--r--ext/ladspa/search.c4
-rw-r--r--ext/mplex/gstmplex.cc3
-rw-r--r--ext/mplex/gstmplex.h1
-rw-r--r--ext/sdl/sdlvideosink.c2
-rw-r--r--ext/snapshot/gstsnapshot.h1
-rw-r--r--ext/sndfile/gstsf.c2
-rw-r--r--ext/sndfile/gstsf.h1
-rw-r--r--ext/swfdec/gstswfdec.h1
-rw-r--r--ext/tarkin/gsttarkin.c3
-rw-r--r--ext/tarkin/gsttarkindec.h1
-rw-r--r--ext/tarkin/gsttarkinenc.h1
-rw-r--r--ext/tarkin/info.c4
-rw-r--r--ext/tarkin/mem.c3
-rw-r--r--ext/tarkin/tarkin.c4
-rw-r--r--ext/tarkin/wavelet.c4
-rw-r--r--ext/tarkin/wavelet_coeff.c4
-rw-r--r--ext/tarkin/wavelet_xform.c4
-rw-r--r--ext/tarkin/yuv.c4
-rw-r--r--ext/xvid/gstxviddec.c3
-rw-r--r--ext/xvid/gstxvidenc.c3
36 files changed, 57 insertions, 29 deletions
diff --git a/ext/arts/gst_arts.h b/ext/arts/gst_arts.h
index 9ecdbaef..cf0ead06 100644
--- a/ext/arts/gst_arts.h
+++ b/ext/arts/gst_arts.h
@@ -24,7 +24,6 @@
#define __GST_ARTS_H__
-#include <config.h>
#include <gst/gst.h>
diff --git a/ext/arts/gst_artsio_impl.cc b/ext/arts/gst_artsio_impl.cc
index 71cfea85..dff27eb1 100644
--- a/ext/arts/gst_artsio_impl.cc
+++ b/ext/arts/gst_artsio_impl.cc
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <math.h>
#include "artsflow.h"
#include "stdsynthmodule.h"
diff --git a/ext/audiofile/gstaf.c b/ext/audiofile/gstaf.c
index 7014dad3..1d05ae3f 100644
--- a/ext/audiofile/gstaf.c
+++ b/ext/audiofile/gstaf.c
@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "gstafsrc.h"
#include "gstafsink.h"
diff --git a/ext/audiofile/gstafparse.h b/ext/audiofile/gstafparse.h
index 29342fe4..0f636dcd 100644
--- a/ext/audiofile/gstafparse.h
+++ b/ext/audiofile/gstafparse.h
@@ -25,7 +25,6 @@
#define __GST_AFPARSE_H__
-#include <config.h>
#include <gst/gst.h>
#include <gst/bytestream/bytestream.h>
#include <audiofile.h> /* what else are we to do */
diff --git a/ext/audiofile/gstafsink.h b/ext/audiofile/gstafsink.h
index 3e8c868c..76ce30af 100644
--- a/ext/audiofile/gstafsink.h
+++ b/ext/audiofile/gstafsink.h
@@ -25,7 +25,6 @@
#define __GST_AFSINK_H__
-#include <config.h>
#include <gst/gst.h>
#include <audiofile.h> /* what else are we to do */
diff --git a/ext/audiofile/gstafsrc.h b/ext/audiofile/gstafsrc.h
index 23e8669c..c96c20c3 100644
--- a/ext/audiofile/gstafsrc.h
+++ b/ext/audiofile/gstafsrc.h
@@ -25,7 +25,6 @@
#define __GST_AFSRC_H__
-#include <config.h>
#include <gst/gst.h>
#include <audiofile.h> /* what else are we to do */
diff --git a/ext/divx/gstdivxdec.c b/ext/divx/gstdivxdec.c
index 7ef30705..049691f4 100644
--- a/ext/divx/gstdivxdec.c
+++ b/ext/divx/gstdivxdec.c
@@ -18,9 +18,6 @@
*/
#ifdef HAVE_CONFIG_H
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
#include "config.h"
#endif
diff --git a/ext/divx/gstdivxenc.c b/ext/divx/gstdivxenc.c
index 1384a888..b5a0458e 100644
--- a/ext/divx/gstdivxenc.c
+++ b/ext/divx/gstdivxenc.c
@@ -18,9 +18,6 @@
*/
#ifdef HAVE_CONFIG_H
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
#include "config.h"
#endif
diff --git a/ext/gsm/gstgsm.c b/ext/gsm/gstgsm.c
index fcc72a01..c186ed1b 100644
--- a/ext/gsm/gstgsm.c
+++ b/ext/gsm/gstgsm.c
@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "gstgsmdec.h"
#include "gstgsmenc.h"
diff --git a/ext/gsm/gstgsmdec.h b/ext/gsm/gstgsmdec.h
index d5839abd..0544128b 100644
--- a/ext/gsm/gstgsmdec.h
+++ b/ext/gsm/gstgsmdec.h
@@ -22,7 +22,6 @@
#define __GST_GSMDEC_H__
-#include <config.h>
#include <gst/gst.h>
#ifdef GSM_HEADER_IN_SUBDIR
diff --git a/ext/gsm/gstgsmenc.h b/ext/gsm/gstgsmenc.h
index 77f29757..2366ed69 100644
--- a/ext/gsm/gstgsmenc.h
+++ b/ext/gsm/gstgsmenc.h
@@ -22,7 +22,6 @@
#define __GST_GSMENC_H__
-#include <config.h>
#include <gst/gst.h>
#ifdef GSM_HEADER_IN_SUBDIR
diff --git a/ext/hermes/gstcolorspace.h b/ext/hermes/gstcolorspace.h
index 45371c72..ef8a8bfe 100644
--- a/ext/hermes/gstcolorspace.h
+++ b/ext/hermes/gstcolorspace.h
@@ -22,7 +22,6 @@
#define __GST_COLORSPACE_H__
-#include <config.h>
#include <gst/gst.h>
#include "yuv2rgb.h"
diff --git a/ext/ivorbis/vorbisenc.h b/ext/ivorbis/vorbisenc.h
index 7170baac..d31d8374 100644
--- a/ext/ivorbis/vorbisenc.h
+++ b/ext/ivorbis/vorbisenc.h
@@ -22,7 +22,6 @@
#define __VORBISENC_H__
-#include <config.h>
#include <gst/gst.h>
#include <tremor/codec.h>
diff --git a/ext/jack/gstjackbin.c b/ext/jack/gstjackbin.c
index 01713a70..cb1839c4 100644
--- a/ext/jack/gstjackbin.c
+++ b/ext/jack/gstjackbin.c
@@ -17,6 +17,10 @@
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <signal.h>
diff --git a/ext/ladspa/gstladspa.h b/ext/ladspa/gstladspa.h
index 89a039e9..b588ffa4 100644
--- a/ext/ladspa/gstladspa.h
+++ b/ext/ladspa/gstladspa.h
@@ -24,7 +24,6 @@
#define __GST_LADSPA_H__
-#include <config.h>
#include <gst/gst.h>
#include <gst/bytestream/bytestream.h>
diff --git a/ext/ladspa/load.c b/ext/ladspa/load.c
index c912106f..bf52eb1f 100644
--- a/ext/ladspa/load.c
+++ b/ext/ladspa/load.c
@@ -5,6 +5,10 @@
/*****************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <dlfcn.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/ext/ladspa/search.c b/ext/ladspa/search.c
index aac4381b..08b28d12 100644
--- a/ext/ladspa/search.c
+++ b/ext/ladspa/search.c
@@ -5,6 +5,10 @@
/*****************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <dirent.h>
#include <dlfcn.h>
#include <stdio.h>
diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc
index f254e728..279e7951 100644
--- a/ext/mplex/gstmplex.cc
+++ b/ext/mplex/gstmplex.cc
@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <string.h>
diff --git a/ext/mplex/gstmplex.h b/ext/mplex/gstmplex.h
index 98b19aca..20107252 100644
--- a/ext/mplex/gstmplex.h
+++ b/ext/mplex/gstmplex.h
@@ -22,7 +22,6 @@
#define __GST_MPLEX_H__
-#include <config.h>
#include <stdlib.h>
#include <gst/gst.h>
diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c
index b66fabca..3b1b6dd6 100644
--- a/ext/sdl/sdlvideosink.c
+++ b/ext/sdl/sdlvideosink.c
@@ -22,7 +22,7 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#include <config.h>
+
#include <signal.h>
#include <string.h>
#include <sys/time.h>
diff --git a/ext/snapshot/gstsnapshot.h b/ext/snapshot/gstsnapshot.h
index c391beb3..e86d1aba 100644
--- a/ext/snapshot/gstsnapshot.h
+++ b/ext/snapshot/gstsnapshot.h
@@ -22,7 +22,6 @@
#define __GST_SNAPSHOT_H__
-#include <config.h>
#include <gst/gst.h>
#include <png.h>
diff --git a/ext/sndfile/gstsf.c b/ext/sndfile/gstsf.c
index a6d7c28d..af961a8c 100644
--- a/ext/sndfile/gstsf.c
+++ b/ext/sndfile/gstsf.c
@@ -21,10 +21,10 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+
#include <string.h>
#include <gst/gst.h>
-#include <config.h>
#include <gst/audio/audio.h>
#include "gstsf.h"
diff --git a/ext/sndfile/gstsf.h b/ext/sndfile/gstsf.h
index 3197effd..a2531112 100644
--- a/ext/sndfile/gstsf.h
+++ b/ext/sndfile/gstsf.h
@@ -22,7 +22,6 @@
#define __GST_SFSINK_H__
-#include <config.h>
#include <gst/gst.h>
#include <sndfile.h>
diff --git a/ext/swfdec/gstswfdec.h b/ext/swfdec/gstswfdec.h
index d3e6355e..8aa3ce3a 100644
--- a/ext/swfdec/gstswfdec.h
+++ b/ext/swfdec/gstswfdec.h
@@ -22,7 +22,6 @@
#define __GST_SWFDEC_H__
-#include <config.h>
#include <gst/gst.h>
#include <swfdec.h>
diff --git a/ext/tarkin/gsttarkin.c b/ext/tarkin/gsttarkin.c
index 8026bde5..e4619c66 100644
--- a/ext/tarkin/gsttarkin.c
+++ b/ext/tarkin/gsttarkin.c
@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "gsttarkinenc.h"
#include "gsttarkindec.h"
diff --git a/ext/tarkin/gsttarkindec.h b/ext/tarkin/gsttarkindec.h
index 3fbac08d..b1baf4f3 100644
--- a/ext/tarkin/gsttarkindec.h
+++ b/ext/tarkin/gsttarkindec.h
@@ -22,7 +22,6 @@
#define __TARKINDEC_H__
-#include <config.h>
#include <gst/gst.h>
#include "tarkin.h"
diff --git a/ext/tarkin/gsttarkinenc.h b/ext/tarkin/gsttarkinenc.h
index 0a887842..b6252a88 100644
--- a/ext/tarkin/gsttarkinenc.h
+++ b/ext/tarkin/gsttarkinenc.h
@@ -22,7 +22,6 @@
#define __TARKINENC_H__
-#include <config.h>
#include <gst/gst.h>
#include "tarkin.h"
diff --git a/ext/tarkin/info.c b/ext/tarkin/info.c
index 7937a69f..60f02bd8 100644
--- a/ext/tarkin/info.c
+++ b/ext/tarkin/info.c
@@ -18,6 +18,10 @@
/* general handling of the header and the TarkinInfo structure (and
substructures) */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
diff --git a/ext/tarkin/mem.c b/ext/tarkin/mem.c
index c2cf18c0..2c304b7a 100644
--- a/ext/tarkin/mem.c
+++ b/ext/tarkin/mem.c
@@ -2,6 +2,9 @@
* Debugging implementation of MALLOC and friends
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "mem.h"
diff --git a/ext/tarkin/tarkin.c b/ext/tarkin/tarkin.c
index a9e24afc..163fa87c 100644
--- a/ext/tarkin/tarkin.c
+++ b/ext/tarkin/tarkin.c
@@ -3,6 +3,10 @@
* (this one has to be rewritten to write ogg streams ...)
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "mem.h"
#include "tarkin.h"
#include "yuv.h"
diff --git a/ext/tarkin/wavelet.c b/ext/tarkin/wavelet.c
index a83aa499..9288e15b 100644
--- a/ext/tarkin/wavelet.c
+++ b/ext/tarkin/wavelet.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "mem.h"
#include "wavelet.h"
diff --git a/ext/tarkin/wavelet_coeff.c b/ext/tarkin/wavelet_coeff.c
index 63248676..581f48f0 100644
--- a/ext/tarkin/wavelet_coeff.c
+++ b/ext/tarkin/wavelet_coeff.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "mem.h"
#include "wavelet.h"
#include "rle.h"
diff --git a/ext/tarkin/wavelet_xform.c b/ext/tarkin/wavelet_xform.c
index 768446a2..f052f003 100644
--- a/ext/tarkin/wavelet_xform.c
+++ b/ext/tarkin/wavelet_xform.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "mem.h"
#include <assert.h>
#include "wavelet.h"
diff --git a/ext/tarkin/yuv.c b/ext/tarkin/yuv.c
index 6f5fb5c0..32c563f4 100644
--- a/ext/tarkin/yuv.c
+++ b/ext/tarkin/yuv.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "yuv.h"
/*#define TARKIN_YUV_EXACT*/
diff --git a/ext/xvid/gstxviddec.c b/ext/xvid/gstxviddec.c
index ad1b5133..3cfdfaa7 100644
--- a/ext/xvid/gstxviddec.c
+++ b/ext/xvid/gstxviddec.c
@@ -18,9 +18,6 @@
*/
#ifdef HAVE_CONFIG_H
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
#include "config.h"
#endif
diff --git a/ext/xvid/gstxvidenc.c b/ext/xvid/gstxvidenc.c
index 00641f68..f526df5a 100644
--- a/ext/xvid/gstxvidenc.c
+++ b/ext/xvid/gstxvidenc.c
@@ -18,9 +18,6 @@
*/
#ifdef HAVE_CONFIG_H
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
#include "config.h"
#endif