diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-11-07 12:47:02 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-11-07 12:47:02 +0000 |
commit | cb90622b41d826e7e316ce1e3c16e5a5c9d028ef (patch) | |
tree | 332fb8ea7be82946452c5628daf4ee0f6686f4b2 /gst-libs/gst | |
parent | ac872637ab3e94f9ef7d553a40994d1ba43eb80f (diff) | |
download | gst-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 'gst-libs/gst')
-rw-r--r-- | gst-libs/gst/audio/audioclock.c | 4 | ||||
-rw-r--r-- | gst-libs/gst/floatcast/floatcast.h | 2 | ||||
-rw-r--r-- | gst-libs/gst/gconf/gconf.c | 4 | ||||
-rw-r--r-- | gst-libs/gst/idct/dct.h | 2 | ||||
-rw-r--r-- | gst-libs/gst/idct/fastintidct.c | 4 | ||||
-rw-r--r-- | gst-libs/gst/idct/floatidct.c | 4 | ||||
-rw-r--r-- | gst-libs/gst/idct/ieeetest.c | 4 | ||||
-rw-r--r-- | gst-libs/gst/idct/intidct.c | 4 | ||||
-rw-r--r-- | gst-libs/gst/idct/mmx32idct.c | 6 | ||||
-rw-r--r-- | gst-libs/gst/media-info/media-info-priv.c | 4 | ||||
-rw-r--r-- | gst-libs/gst/media-info/media-info.c | 4 | ||||
-rw-r--r-- | gst-libs/gst/play/play.old.c | 4 | ||||
-rw-r--r-- | gst-libs/gst/resample/dtof.c | 3 | ||||
-rw-r--r-- | gst-libs/gst/resample/functable.c | 3 | ||||
-rw-r--r-- | gst-libs/gst/resample/private.h | 1 | ||||
-rw-r--r-- | gst-libs/gst/resample/resample.c | 3 | ||||
-rw-r--r-- | gst-libs/gst/riff/riffencode.c | 4 | ||||
-rw-r--r-- | gst-libs/gst/riff/riffparse.c | 4 | ||||
-rw-r--r-- | gst-libs/gst/riff/riffutil.c | 3 |
19 files changed, 61 insertions, 6 deletions
diff --git a/gst-libs/gst/audio/audioclock.c b/gst-libs/gst/audio/audioclock.c index 342009ff..feb06d50 100644 --- a/gst-libs/gst/audio/audioclock.c +++ b/gst-libs/gst/audio/audioclock.c @@ -20,6 +20,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "audioclock.h" static void gst_audio_clock_class_init (GstAudioClockClass *klass); diff --git a/gst-libs/gst/floatcast/floatcast.h b/gst-libs/gst/floatcast/floatcast.h index 3a232b76..0d5809f1 100644 --- a/gst-libs/gst/floatcast/floatcast.h +++ b/gst-libs/gst/floatcast/floatcast.h @@ -21,8 +21,6 @@ #ifndef __FLOATCAST_H__ #define __FLOATCAST_H__ -#include <config.h> - #if (HAVE_LRINT && HAVE_LRINTF) /* These defines enable functionality introduced with the 1999 ISO C diff --git a/gst-libs/gst/gconf/gconf.c b/gst-libs/gst/gconf/gconf.c index 8a1c5823..541a086b 100644 --- a/gst-libs/gst/gconf/gconf.c +++ b/gst-libs/gst/gconf/gconf.c @@ -21,6 +21,10 @@ * this library handles interaction with GConf */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "gconf.h" #define GST_GCONF_DIR "/system/gstreamer" diff --git a/gst-libs/gst/idct/dct.h b/gst-libs/gst/idct/dct.h index fcb7de37..efb3ddb3 100644 --- a/gst-libs/gst/idct/dct.h +++ b/gst-libs/gst/idct/dct.h @@ -1,7 +1,5 @@ /* define DCT types */ -#include "config.h" - /* * DCTSIZE underlying (1d) transform size * DCTSIZE2 DCTSIZE squared diff --git a/gst-libs/gst/idct/fastintidct.c b/gst-libs/gst/idct/fastintidct.c index 3c9e9bb9..27426672 100644 --- a/gst-libs/gst/idct/fastintidct.c +++ b/gst-libs/gst/idct/fastintidct.c @@ -38,6 +38,10 @@ /* compliance sE, 2.1.94 */ /**********************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /* this code assumes >> to be a two's-complement arithmetic */ /* right shift: (-2)>>1 == -1 , (-3)>>1 == -2 */ diff --git a/gst-libs/gst/idct/floatidct.c b/gst-libs/gst/idct/floatidct.c index 520c3913..b215bd78 100644 --- a/gst-libs/gst/idct/floatidct.c +++ b/gst-libs/gst/idct/floatidct.c @@ -35,6 +35,10 @@ /* Here we use math.h to generate constants. Compiler results may vary a little */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <math.h> #ifndef PI diff --git a/gst-libs/gst/idct/ieeetest.c b/gst-libs/gst/idct/ieeetest.c index c3c66215..f5b270eb 100644 --- a/gst-libs/gst/idct/ieeetest.c +++ b/gst-libs/gst/idct/ieeetest.c @@ -9,6 +9,10 @@ * Released to public domain 11/22/93. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <string.h> #include <stdlib.h> diff --git a/gst-libs/gst/idct/intidct.c b/gst-libs/gst/idct/intidct.c index 119b7fd1..e08e6adb 100644 --- a/gst-libs/gst/idct/intidct.c +++ b/gst-libs/gst/idct/intidct.c @@ -18,6 +18,10 @@ * scaled fixed-point arithmetic, with a minimal number of shifts. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "dct.h" /* We assume that right shift corresponds to signed division by 2 with diff --git a/gst-libs/gst/idct/mmx32idct.c b/gst-libs/gst/idct/mmx32idct.c index 0090d8a7..3b640976 100644 --- a/gst-libs/gst/idct/mmx32idct.c +++ b/gst-libs/gst/idct/mmx32idct.c @@ -114,7 +114,11 @@ /*
mword typedef qword
qword ptr equ mword ptr */
-
+ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <mmx.h>
#define BITS_INV_ACC 4 /*; 4 or 5 for IEEE
*/ diff --git a/gst-libs/gst/media-info/media-info-priv.c b/gst-libs/gst/media-info/media-info-priv.c index b9237137..77981598 100644 --- a/gst-libs/gst/media-info/media-info-priv.c +++ b/gst-libs/gst/media-info/media-info-priv.c @@ -19,6 +19,10 @@ /* media-info-priv.c - handling of internal stuff */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <gst/gst.h> #include <string.h> #include "media-info.h" diff --git a/gst-libs/gst/media-info/media-info.c b/gst-libs/gst/media-info/media-info.c index b559463d..92957e16 100644 --- a/gst-libs/gst/media-info/media-info.c +++ b/gst-libs/gst/media-info/media-info.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <gst/gst.h> #include <string.h> #include "media-info.h" diff --git a/gst-libs/gst/play/play.old.c b/gst-libs/gst/play/play.old.c index 486262e5..64963661 100644 --- a/gst-libs/gst/play/play.old.c +++ b/gst-libs/gst/play/play.old.c @@ -22,6 +22,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "play.h" enum diff --git a/gst-libs/gst/resample/dtof.c b/gst-libs/gst/resample/dtof.c index c392e676..7650453a 100644 --- a/gst-libs/gst/resample/dtof.c +++ b/gst-libs/gst/resample/dtof.c @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <string.h> #include <math.h> diff --git a/gst-libs/gst/resample/functable.c b/gst-libs/gst/resample/functable.c index 94dbec15..75b81f36 100644 --- a/gst-libs/gst/resample/functable.c +++ b/gst-libs/gst/resample/functable.c @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <string.h> #include <math.h> diff --git a/gst-libs/gst/resample/private.h b/gst-libs/gst/resample/private.h index fb8ba87f..476e611e 100644 --- a/gst-libs/gst/resample/private.h +++ b/gst-libs/gst/resample/private.h @@ -22,7 +22,6 @@ #define __PRIVATE_H__ #include "resample.h" -#include "config.h" void resample_nearest_s16(resample_t *r); void resample_bilinear_s16(resample_t *r); diff --git a/gst-libs/gst/resample/resample.c b/gst-libs/gst/resample/resample.c index b298e86d..52a80e61 100644 --- a/gst-libs/gst/resample/resample.c +++ b/gst-libs/gst/resample/resample.c @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <string.h> #include <math.h> diff --git a/gst-libs/gst/riff/riffencode.c b/gst-libs/gst/riff/riffencode.c index a22b1849..630725d5 100644 --- a/gst-libs/gst/riff/riffencode.c +++ b/gst-libs/gst/riff/riffencode.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <string.h> /*#define DEBUG_ENABLED */ diff --git a/gst-libs/gst/riff/riffparse.c b/gst-libs/gst/riff/riffparse.c index 72a7820b..72c9e4bb 100644 --- a/gst-libs/gst/riff/riffparse.c +++ b/gst-libs/gst/riff/riffparse.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <string.h> /*#define DEBUG_ENABLED */ diff --git a/gst-libs/gst/riff/riffutil.c b/gst-libs/gst/riff/riffutil.c index 612bdbaf..d33aefe3 100644 --- a/gst-libs/gst/riff/riffutil.c +++ b/gst-libs/gst/riff/riffutil.c @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <riff.h> |