diff options
author | Andy Wingo <wingo@pobox.com> | 2018-06-20 18:31:24 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2018-06-20 18:31:24 +0200 |
commit | b8d757732fae7c396d58327185f94e5d90846445 (patch) | |
tree | f7cc7ebe65b5722b74f519f0b4db8a0d95fbc528 /libguile/gc-malloc.c | |
parent | 3068bc738429286db225b618607848a5a40f82ce (diff) | |
download | guile-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-malloc.c')
-rw-r--r-- | libguile/gc-malloc.c | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/libguile/gc-malloc.c b/libguile/gc-malloc.c index e778080ef..6bfd6a113 100644 --- a/libguile/gc-malloc.c +++ b/libguile/gc-malloc.c @@ -27,27 +27,26 @@ #include <errno.h> #include <string.h> #include <stdlib.h> +#include <unistd.h> -#include "eval.h" -#include "stime.h" -#include "stackchk.h" -#include "struct.h" -#include "smob.h" #include "arrays.h" #include "async.h" +#ifdef GUILE_DEBUG_MALLOC +#include "debug-malloc.h" +#endif +#include "deprecation.h" +#include "eval.h" +#include "hashtab.h" #include "ports.h" +#include "smob.h" +#include "stackchk.h" +#include "stime.h" #include "strings.h" +#include "struct.h" #include "vectors.h" -#include "hashtab.h" -#include "deprecation.h" #include "gc.h" -#ifdef GUILE_DEBUG_MALLOC -#include "debug-malloc.h" -#endif - -#include <unistd.h> /* INIT_MALLOC_LIMIT is the initial amount of malloc usage which will |