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:47:01 +00:00
parent 079e4b4e95
commit 5621eae1c5
56 changed files with 95 additions and 34 deletions

View file

@ -20,7 +20,6 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <config.h>
#include <string.h>
#include <sys/time.h>

View file

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

View file

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

View file

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

View file

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

View file

@ -5,6 +5,10 @@
/*****************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <dlfcn.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -5,6 +5,10 @@
/*****************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <dirent.h>
#include <dlfcn.h>
#include <stdio.h>

View file

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

View file

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

View file

@ -1,3 +1,7 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h>
#include <string.h>

View file

@ -16,7 +16,11 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gst/gst.h>
#include "mikmod_types.h"
#include <string.h> /* memcmp */

View file

@ -27,6 +27,9 @@
* Copyright (C) 2001 Sun Microsystems
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/*#define DEBUG_ENABLED */
#include <gsttimeoverlay.h>

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -28,7 +28,6 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <config.h>
#include <stdlib.h>
#include <string.h>
@ -170,6 +169,7 @@ GST_PAD_TEMPLATE_FACTORY (audio_sink_factory,
GST_CAPS_NEW (
"avimux_sink_audio_mpeg",
"audio/mpeg",
"mpegversion", GST_PROPS_INT (1),
"layer", GST_PROPS_INT_RANGE (1, 3),
"rate", GST_PROPS_INT_RANGE (1000, 96000),
"channels", GST_PROPS_INT_RANGE (1, 2)

View file

@ -22,7 +22,6 @@
#define __GST_CUTTER_H__
#include <config.h>
#include <gst/gst.h>
/* #include <gst/meta/audioraw.h> */

View file

@ -17,10 +17,13 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <gst/gst.h>
#include "flx_color.h"
FlxColorSpaceConverter *

View file

@ -12,6 +12,10 @@
/*#define _DEBUG_PIXEL; */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "filters.h"
#include "graphic.h"
#include "goom_tools.h"

View file

@ -1,3 +1,7 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "graphic.h"
const Color BLACK = {0,0,0} ;

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 "goom_core.h"

View file

@ -7,6 +7,10 @@
*
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "lines.h"
#include <math.h>

View file

@ -22,7 +22,6 @@
#define __GST_ALAWDECODE_H__
#include <config.h>
#include <gst/gst.h>
/* #include <gst/meta/audioraw.h> */

View file

@ -22,7 +22,6 @@
#define __GST_ALAWENCODE_H__
#include <config.h>
#include <gst/gst.h>
/* #include <gst/meta/audioraw.h> */

View file

@ -19,6 +19,10 @@
* Output: 8 bit ulaw sample
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <glib.h>
#define ZEROTRAP /* turn on the trap as per the MIL-STD */

View file

@ -22,7 +22,6 @@
#define __GST_MULAWDECODE_H__
#include <config.h>
#include <gst/gst.h>
/* #include <gst/meta/audioraw.h> */

View file

@ -22,7 +22,6 @@
#define __GST_MULAWENCODE_H__
#include <config.h>
#include <gst/gst.h>
/* #include <gst/meta/audioraw.h> */

View file

@ -21,6 +21,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gst/gst.h>
#include <gtk/gtk.h>

View file

@ -26,7 +26,6 @@
#define __GST_LEVEL_H__
#include <config.h>
#include <gst/gst.h>
#include "gstlevel-marshal.h"

View file

@ -21,6 +21,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gst/gst.h>
#include <gtk/gtk.h>

View file

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

View file

@ -55,6 +55,10 @@
* convolution", or "combine these three length 2^n outputs into one
* 2^{n+1} output." */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdlib.h>
#include "convolve.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 "monoscope.h"

View file

@ -19,6 +19,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 "monoscope.h"
#include <string.h>

View file

@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "paint.h"
#include "gstmask.h"

View file

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

View file

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

View file

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

View file

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

View file

@ -21,7 +21,6 @@
#ifndef __GST_UDPSRC_H__
#define __GST_UDPSRC_H__
#include <config.h>
#include <gst/gst.h>
#ifdef __cplusplus

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -21,13 +21,13 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gst/gst.h>
#include <stdlib.h>
#include <math.h>
#include <videoflip.h>
#include <string.h>
#include "config.h"
#include "gstvideoflip.h"
static void gst_videoflip_planar411 (GstVideoflip *scale, unsigned char *dest, unsigned char *src);

View file

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

View file

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

View file

@ -25,7 +25,6 @@
#define __GST_OSSGST_H__
#include <config.h>
#include <gst/gst.h>
#include <sys/types.h>

View file

@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>