summaryrefslogtreecommitdiff
path: root/libguile/gc.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2018-06-20 18:31:24 +0200
committerAndy Wingo <wingo@pobox.com>2018-06-20 18:31:24 +0200
commitb8d757732fae7c396d58327185f94e5d90846445 (patch)
treef7cc7ebe65b5722b74f519f0b4db8a0d95fbc528 /libguile/gc.c
parent3068bc738429286db225b618607848a5a40f82ce (diff)
downloadguile-b8d757732fae7c396d58327185f94e5d90846445.tar.gz
Rationalize include order in C files
Include config.h first, then system includes, then libguile includes, in alphabetical order, then the include for the file in question.
Diffstat (limited to 'libguile/gc.c')
-rw-r--r--libguile/gc.c38
1 files changed, 18 insertions, 20 deletions
diff --git a/libguile/gc.c b/libguile/gc.c
index fb7475040..1bfda9a42 100644
--- a/libguile/gc.c
+++ b/libguile/gc.c
@@ -23,48 +23,46 @@
# include <config.h>
#endif
-#include "gen-scmconfig.h"
-#include "pairs.h"
-
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
+#include <unistd.h>
-#include "gsubr.h"
-#include "eval.h"
-#include "stime.h"
-#include "stackchk.h"
-#include "struct.h"
-#include "smob.h"
#include "arrays.h"
#include "async.h"
-#include "ports.h"
+#include "bdw-gc.h"
+#include "deprecation.h"
+#include "dynwind.h"
+#include "eval.h"
+#include "gen-scmconfig.h"
+#include "gsubr.h"
+#include "hashtab.h"
#include "hooks.h"
#include "list.h"
#include "modules.h"
#include "numbers.h"
+#include "pairs.h"
+#include "ports.h"
#include "simpos.h"
+#include "smob.h"
+#include "stackchk.h"
+#include "stime.h"
#include "strings.h"
+#include "struct.h"
#include "symbols.h"
#include "vectors.h"
-#include "hashtab.h"
-#include "deprecation.h"
-#include "gc.h"
-#include "dynwind.h"
+#ifdef GUILE_DEBUG_MALLOC
+#include "debug-malloc.h"
+#endif
-#include "bdw-gc.h"
+#include "gc.h"
/* For GC_set_start_callback. */
#include <gc/gc_mark.h>
-#ifdef GUILE_DEBUG_MALLOC
-#include "debug-malloc.h"
-#endif
-
-#include <unistd.h>
/* Size in bytes of the initial heap. This should be about the size of
result of 'guile -c "(display (assq-ref (gc-stats)