Commit b5e03bda authored by Martin Nordholts's avatar Martin Nordholts

config.h needs to be included at the top of every .c file

But don't do it for .c files that are not treated as separate
compilation units, i.e. the buffer test .c files.

Patch from Patch from Gary V. Vaughan.

svn path=/trunk/; revision=2987
parent 1af5a46e
2009-03-26 Martin Nordholts <martinn@svn.gnome.org>
Apply patch from Gary V. Vaughan. config.h needs to be included at
the top of every .c file. But don't do it for .c files that are
not treated as separate compilation units, i.e. the buffer test .c
files.
* many_c_files.c
2009-03-22 Martin Nordholts <martinn@svn.gnome.org>
* gegl/buffer/gegl-tile-backend-file.c: Namespace functions
......
......@@ -16,6 +16,7 @@
* Copyright (C) 2005, 2008 Øyvind Kolås
*/
#include "config.h"
#include "gegl-path-smooth.h"
#include <gegl.h>
#include "gegl-path.h"
......
......@@ -16,6 +16,7 @@
* Copyright (C) 2003, 2004, 2006, 2007, 2008 Øyvind Kolås
*/
#include "config.h"
#include "gegl-path-spiro.h"
#include <gegl.h>
#include <math.h>
......
......@@ -18,6 +18,7 @@
* 2007 © Øyvind Kolås.
*/
#include "config.h"
#include "rgegl.h"
#define _SELF(self) GEGL_COLOR(RVAL2GOBJ(self))
......
......@@ -18,6 +18,7 @@
* 2007 © Øyvind Kolås, Kevin Cozens.
*/
#include "config.h"
#include "rgegl.h"
#include "babl/babl.h"
......
......@@ -18,6 +18,7 @@
* 2007 © Øyvind Kolås.
*/
#include "config.h"
#include "rgegl.h"
#define _SELF(self) GEGL_PROCESSOR(RVAL2GOBJ(self))
......
......@@ -18,6 +18,7 @@
* 2007 © Øyvind Kolås.
*/
#include "config.h"
#include "rgegl.h"
/************************************************
......
......@@ -17,6 +17,7 @@
*
* 2007 © Øyvind Kolås.
*/
#include "config.h"
#include "rgegl.h"
void
......
#include "config.h"
#include <stdlib.h>
#include <glib.h>
#include <gegl.h>
......
#include "config.h"
#include <stdlib.h>
#include <gegl.h>
#include <string.h>
......
#include "config.h"
#include <gegl.h>
#include <glib/gprintf.h>
......
#include "config.h"
#include <stdlib.h>
#include <gegl.h>
#include <glib/gprintf.h>
......
#include "config.h"
#include <gegl.h>
gint
......
#include "config.h"
#include <gegl.h>
gint
......
......@@ -14,6 +14,7 @@
* License along with GEGL; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#include <string.h>
#include <math.h>
......
......@@ -19,6 +19,7 @@
* currently not used by the rest of GeglBuffer */
#include "config.h"
#include <string.h>
#include <math.h>
......
......@@ -58,6 +58,7 @@
#endif
#endif
#include "config.h"
#include <glib-object.h>
#include <glib/gstdio.h>
#include <glib/gprintf.h>
......
......@@ -15,6 +15,7 @@
*
*/
#include "config.h"
#include <string.h>
#include <glib-object.h>
......
......@@ -173,6 +173,7 @@
* of Canada) Discovery Grant.
*/
#include "config.h"
#include <glib-object.h>
#include "gegl.h"
......
......@@ -22,6 +22,7 @@
* Canada) Discovery Grant.
*/
#include "config.h"
#include <glib-object.h>
#include "gegl.h"
......
......@@ -15,6 +15,7 @@
*
* Copyright 2006, 2007 Øyvind Kolås <pippin@gimp.org>
*/
#include "config.h"
#include <glib.h>
#include <glib-object.h>
#include <string.h>
......
......@@ -15,6 +15,7 @@
*
* Copyright 2006,2007 Øyvind Kolås <pippin@gimp.org>
*/
#include "config.h"
#include <glib.h>
#include <glib-object.h>
#include <string.h>
......
......@@ -15,6 +15,7 @@
*
* Copyright 2006, 2007 Øyvind Kolås <pippin@gimp.org>
*/
#include "config.h"
#include <glib.h>
#include <glib-object.h>
#include <string.h>
......
......@@ -15,6 +15,7 @@
*
* Copyright 2006,2007 Øyvind Kolås <pippin@gimp.org>
*/
#include "config.h"
#include <glib.h>
#include <glib-object.h>
#include <string.h>
......
......@@ -15,6 +15,7 @@
*
* Copyright 2006,2007 Øyvind Kolås <pippin@gimp.org>
*/
#include "config.h"
#include <glib.h>
#include <glib-object.h>
#include "gegl-tile-source.h"
......
......@@ -18,6 +18,7 @@
/* FIXME: this file should be implemented using public API only */
#include "config.h"
#include <stdio.h>
#include <string.h>
#include <glib-object.h>
......
......@@ -16,6 +16,7 @@
* Copyright 2006 Øyvind Kolås
*/
#include "config.h"
#include <glib.h>
#include <string.h>
#include "gegl-instrument.h"
......
......@@ -16,6 +16,7 @@
* Copyright 2006 Philip Lafleur
*/
#include "config.h"
#include <math.h>
#include <string.h>
#include <stdlib.h>
......
......@@ -14,6 +14,7 @@
* License along with GEGL; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#include <string.h>
#include <glib-object.h>
......
......@@ -16,6 +16,7 @@
* Copyright 2006 Philip Lafleur
*/
#include "config.h"
#include <gegl-plugin.h>
#include "module.h"
#include "affine.h"
......
/* Coherent noise function over 1, 2 or 3 dimensions */
/* (copyright Ken Perlin) */
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
......
......@@ -27,6 +27,7 @@ gegl_chant_file_path (path, "File", "", "Path of file to load.")
#define GEGL_CHANT_TYPE_SOURCE
#define GEGL_CHANT_C_FILE "openraw.c"
#include "config.h"
#include "gegl-chant.h"
#include <stdio.h>
#include <libopenraw/libopenraw.h>
......
......@@ -21,6 +21,7 @@
*
*/
#include "config.h"
#include <stdio.h>
#include <assert.h>
#include <sys/ioctl.h>
......
#include "config.h"
#include <gegl.h>
#include <gegl-buffer.h>
#include <math.h>
......
......@@ -15,6 +15,7 @@
* Copyright (C) 2009 Martin Nordholts
*/
#include "config.h"
#include <string.h>
#include "gegl.h"
......
#include "config.h"
#include <gegl.h> /* needed instead of gegl.h to be able to do full
introspection*/
#include <stdio.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment