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
This commit is contained in:
Ronald S. Bultje 2003-11-07 12:46:51 +00:00
parent 1e5b084282
commit 2081f9ad65
41 changed files with 91 additions and 26 deletions

View file

@ -18,9 +18,6 @@
*/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "config.h"
#endif

View file

@ -21,7 +21,6 @@
#ifndef __GST_A52DEC_H__
#define __GST_A52DEC_H__
#include <config.h>
#include <gst/gst.h>
#include <gst/bytestream/bytestream.h>

View file

@ -20,6 +20,7 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -29,8 +30,6 @@
#include <assert.h>
#include <gst/gst.h>
#include "config.h"
#include <dvdnav/dvdnav.h>
#include <dvdread/nav_print.h>

View file

@ -38,6 +38,7 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -55,8 +56,6 @@
#include <dvdreadsrc.h>
#include "config.h"
#include <dvdread/dvd_reader.h>
#include <dvdread/ifo_types.h>
#include <dvdread/ifo_read.h>

View file

@ -22,7 +22,6 @@
#define __DVDREADSRC_H__
#include <config.h>
#include <gst/gst.h>

View file

@ -22,7 +22,6 @@
#define __GST_LAME_H__
#include <config.h>
#include <gst/gst.h>
#ifdef __cplusplus

View file

@ -22,7 +22,6 @@
#define __GST_MPEG2DEC_H__
#include <config.h>
#include <gst/gst.h>
#include <mpeg2.h>

View file

@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>

View file

@ -22,8 +22,6 @@
#define __GST_SIDDEC_H__
#include <config.h>
#include <stdlib.h>
#include <sidplay/player.h>

View file

@ -1,3 +1,7 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "buffer.hh"
#include <stdlib.h>

View file

@ -20,6 +20,10 @@
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "padstrm.hh"

View file

@ -21,6 +21,10 @@
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <format_codes.h>
#include "stillsstream.hh"

View file

@ -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);

View file

@ -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

View file

@ -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"

View file

@ -1,7 +1,5 @@
/* define DCT types */
#include "config.h"
/*
* DCTSIZE underlying (1d) transform size
* DCTSIZE2 DCTSIZE squared

View file

@ -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 */

View file

@ -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

View file

@ -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>

View file

@ -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

View file

@ -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 */

View file

@ -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"

View file

@ -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"

View file

@ -22,6 +22,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "play.h"
enum

View file

@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <math.h>

View file

@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <math.h>

View file

@ -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);

View file

@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <math.h>

View file

@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
/*#define DEBUG_ENABLED */

View file

@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
/*#define DEBUG_ENABLED */

View file

@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <riff.h>

View file

@ -22,7 +22,6 @@
#define __AC3PARSE_H__
#include <config.h>
#include <gst/gst.h>

View file

@ -21,7 +21,6 @@
#ifndef __ASF_DEMUX_H__
#define __ASF_DEMUX_H__
#include <config.h>
#include <gst/gst.h>
#include <gst/riff/riff.h>
#include <gst/bytestream/bytestream.h>

View file

@ -22,7 +22,6 @@
#define __MP3PARSE_H__
#include <config.h>
#include <gst/gst.h>

View file

@ -20,6 +20,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gstmpegclock.h"
static void gst_mpeg_clock_class_init (GstMPEGClockClass *klass);

View file

@ -22,7 +22,6 @@
#define __MPEG_DEMUX_H__
#include <config.h>
#include <gst/gst.h>
#include "gstmpegparse.h"

View file

@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/*#define GST_DEBUG_ENABLED */
#include <gstmpegpacketize.h>

View file

@ -22,7 +22,6 @@
#define __MPEGPACKETIZE_H__
#include <config.h>
#include <gst/gst.h>
#include <gst/bytestream/bytestream.h>

View file

@ -22,7 +22,6 @@
#define __RFC2250_ENC_H__
#include <config.h>
#include <gst/gst.h>
#include <gst/bytestream/bytestream.h>
#include "gstmpegpacketize.h"

View file

@ -20,7 +20,7 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <config.h>
#include <gst/gst.h>
#include <gst/video/video.h>
#include "synaescope.h"

View file

@ -18,6 +18,11 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "synaescope.h"
#include <pthread.h>