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/atomic.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/atomic.c')
-rw-r--r-- | libguile/atomic.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libguile/atomic.c b/libguile/atomic.c index 2f1afd199..c24364539 100644 --- a/libguile/atomic.c +++ b/libguile/atomic.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2016, 2018 Free Software Foundation, Inc. +/* Copyright (C) 2016,2018 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License @@ -18,18 +18,22 @@ + #ifdef HAVE_CONFIG_H # include <config.h> #endif +#include "atomics-internal.h" #include "boolean.h" -#include "gsubr.h" #include "extensions.h" +#include "gsubr.h" #include "ports.h" -#include "atomics-internal.h" + #include "atomic.h" + + SCM_DEFINE (scm_make_atomic_box, "make-atomic-box", 1, 0, 0, (SCM init), "Return an atomic box initialized to value @var{init}.") |