mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
More header inclusion cleanup
This commit is contained in:
parent
19972a1b57
commit
f13d561211
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "glib.h"
|
#include "gatomic.h"
|
||||||
|
|
||||||
gint
|
gint
|
||||||
g_atomic_int_exchange_and_add (volatile gint G_GNUC_MAY_ALIAS *atomic,
|
g_atomic_int_exchange_and_add (volatile gint G_GNUC_MAY_ALIAS *atomic,
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include <sched.h>
|
#include <sched.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "glib.h"
|
#include "gatomic.h"
|
||||||
#include "gthreadprivate.h"
|
#include "gthreadprivate.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -26,8 +26,10 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "glib.h"
|
#include "gerror.h"
|
||||||
|
|
||||||
|
#include "gstrfuncs.h"
|
||||||
|
#include "gtestutils.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* g_error_new_valist:
|
* g_error_new_valist:
|
||||||
|
@ -43,7 +43,11 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
#include "glib.h"
|
#include "giochannel.h"
|
||||||
|
|
||||||
|
#include "gerror.h"
|
||||||
|
#include "gfileutils.h"
|
||||||
|
#include "gtestutils.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Unix IO Channels
|
* Unix IO Channels
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "glib.h"
|
|
||||||
#include "gprintf.h"
|
#include "gprintf.h"
|
||||||
#include "gprintfint.h"
|
#include "gprintfint.h"
|
||||||
|
|
||||||
|
@ -20,8 +20,6 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "gslice.h"
|
|
||||||
|
|
||||||
#if defined HAVE_POSIX_MEMALIGN && defined POSIX_MEMALIGN_WITH_COMPLIANT_ALLOCS
|
#if defined HAVE_POSIX_MEMALIGN && defined POSIX_MEMALIGN_WITH_COMPLIANT_ALLOCS
|
||||||
# define HAVE_COMPLIANT_POSIX_MEMALIGN 1
|
# define HAVE_COMPLIANT_POSIX_MEMALIGN 1
|
||||||
#endif
|
#endif
|
||||||
@ -32,10 +30,7 @@
|
|||||||
#include <stdlib.h> /* posix_memalign() */
|
#include <stdlib.h> /* posix_memalign() */
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include "gmem.h" /* gslice.h */
|
|
||||||
#include "gthreadprivate.h"
|
|
||||||
#include "glib.h"
|
|
||||||
#include "glib_trace.h"
|
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
#include <unistd.h> /* sysconf() */
|
#include <unistd.h> /* sysconf() */
|
||||||
#endif
|
#endif
|
||||||
@ -46,6 +41,14 @@
|
|||||||
|
|
||||||
#include <stdio.h> /* fputs/fprintf */
|
#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
|
/* the GSlice allocator is split up into 4 layers, roughly modelled after the slab
|
||||||
* allocator and magazine extensions as outlined in:
|
* allocator and magazine extensions as outlined in:
|
||||||
|
@ -41,7 +41,12 @@
|
|||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
#endif /* HAVE_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"
|
#include "glibintl.h"
|
||||||
|
|
||||||
static gint g_execute (const gchar *file,
|
static gint g_execute (const gchar *file,
|
||||||
|
@ -23,8 +23,9 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "glib.h"
|
#include "gunicode.h"
|
||||||
#include "gunidecomp.h"
|
#include "gunidecomp.h"
|
||||||
|
#include "gmem.h"
|
||||||
#include "gunicomp.h"
|
#include "gunicomp.h"
|
||||||
#include "gunicodeprivate.h"
|
#include "gunicodeprivate.h"
|
||||||
|
|
||||||
|
@ -57,9 +57,17 @@
|
|||||||
*/
|
*/
|
||||||
#define G_IMPLEMENT_INLINES 1
|
#define G_IMPLEMENT_INLINES 1
|
||||||
#define __G_UTILS_C__
|
#define __G_UTILS_C__
|
||||||
#include "glib.h"
|
#include "gutils.h"
|
||||||
|
|
||||||
|
#include "gfileutils.h"
|
||||||
|
#include "ghash.h"
|
||||||
|
#include "gslist.h"
|
||||||
#include "gprintfint.h"
|
#include "gprintfint.h"
|
||||||
|
#include "gthread.h"
|
||||||
#include "gthreadprivate.h"
|
#include "gthreadprivate.h"
|
||||||
|
#include "gtestutils.h"
|
||||||
|
#include "gunicode.h"
|
||||||
|
#include "gstrfuncs.h"
|
||||||
#include "glibintl.h"
|
#include "glibintl.h"
|
||||||
|
|
||||||
#ifdef MAXPATHLEN
|
#ifdef MAXPATHLEN
|
||||||
|
Loading…
Reference in New Issue
Block a user