Commit f13d5612 authored by Matthias Clasen's avatar Matthias Clasen

More header inclusion cleanup

parent 19972a1b
......@@ -20,7 +20,7 @@
#include "config.h"
#include "glib.h"
#include "gatomic.h"
gint
g_atomic_int_exchange_and_add (volatile gint G_GNUC_MAY_ALIAS *atomic,
......
......@@ -27,7 +27,7 @@
#include <sched.h>
#endif
#include "glib.h"
#include "gatomic.h"
#include "gthreadprivate.h"
/**
......
......@@ -26,8 +26,10 @@
#include "config.h"
#include "glib.h"
#include "gerror.h"
#include "gstrfuncs.h"
#include "gtestutils.h"
/**
* g_error_new_valist:
......
......@@ -24,10 +24,10 @@
* Modified by the GLib Team and others 1997-2000. See the AUTHORS
* file for a list of people on the GLib Team. See the ChangeLog
* files for a list of changes. These files are distributed with
* GLib at ftp://ftp.gtk.org/pub/gtk/.
* GLib at ftp://ftp.gtk.org/pub/gtk/.
*/
/*
/*
* MT safe
*/
......@@ -43,7 +43,11 @@
#include <string.h>
#include <fcntl.h>
#include "glib.h"
#include "giochannel.h"
#include "gerror.h"
#include "gfileutils.h"
#include "gtestutils.h"
/*
* Unix IO Channels
......
......@@ -27,7 +27,6 @@
#include <stdlib.h>
#include <stdio.h>
#include "glib.h"
#include "gprintf.h"
#include "gprintfint.h"
......
......@@ -20,8 +20,6 @@
#include "config.h"
#include "gslice.h"
#if defined HAVE_POSIX_MEMALIGN && defined POSIX_MEMALIGN_WITH_COMPLIANT_ALLOCS
# define HAVE_COMPLIANT_POSIX_MEMALIGN 1
#endif
......@@ -32,10 +30,7 @@
#include <stdlib.h> /* posix_memalign() */
#include <string.h>
#include <errno.h>
#include "gmem.h" /* gslice.h */
#include "gthreadprivate.h"
#include "glib.h"
#include "glib_trace.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h> /* sysconf() */
#endif
......@@ -46,6 +41,14 @@
#include <stdio.h> /* fputs/fprintf */
#include "gslice.h"
#include "gmem.h" /* gslice.h */
#include "gutils.h"
#include "gtestutils.h"
#include "gthread.h"
#include "gthreadprivate.h"
#include "glib_trace.h"
/* the GSlice allocator is split up into 4 layers, roughly modelled after the slab
* allocator and magazine extensions as outlined in:
......
......@@ -41,7 +41,12 @@
#include <sys/resource.h>
#endif /* HAVE_SYS_RESOURCE_H */
#include "glib.h"
#include "gspawn.h"
#include "gmem.h"
#include "gstring.h"
#include "gtestutils.h"
#include "gutils.h"
#include "glibintl.h"
static gint g_execute (const gchar *file,
......
......@@ -23,8 +23,9 @@
#include <stdlib.h>
#include "glib.h"
#include "gunicode.h"
#include "gunidecomp.h"
#include "gmem.h"
#include "gunicomp.h"
#include "gunicodeprivate.h"
......
......@@ -57,9 +57,17 @@
*/
#define G_IMPLEMENT_INLINES 1
#define __G_UTILS_C__
#include "glib.h"
#include "gutils.h"
#include "gfileutils.h"
#include "ghash.h"
#include "gslist.h"
#include "gprintfint.h"
#include "gthread.h"
#include "gthreadprivate.h"
#include "gtestutils.h"
#include "gunicode.h"
#include "gstrfuncs.h"
#include "glibintl.h"
#ifdef MAXPATHLEN
......
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