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/random.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/random.c')
-rw-r--r-- | libguile/random.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/libguile/random.c b/libguile/random.c index 30364c1c1..1d52133ea 100644 --- a/libguile/random.c +++ b/libguile/random.c @@ -18,40 +18,41 @@ */ - /* Original Author: Mikael Djurfeldt <djurfeldt@nada.kth.se> */ #ifdef HAVE_CONFIG_H # include <config.h> #endif -#include <gmp.h> -#include <stdio.h> #include <math.h> +#include <stdio.h> #include <string.h> #include <sys/types.h> #include <unistd.h> -#include "gsubr.h" -#include "smob.h" +#include <gmp.h> + +#include "arrays.h" +#include "feature.h" #include "generalized-arrays.h" +#include "generalized-vectors.h" +#include "gsubr.h" #include "list.h" -#include "numbers.h" -#include "feature.h" #include "modules.h" #include "numbers.h" +#include "numbers.h" #include "pairs.h" +#include "smob.h" +#include "srfi-4.h" #include "stime.h" #include "strings.h" #include "symbols.h" -#include "arrays.h" -#include "srfi-4.h" #include "variable.h" #include "vectors.h" -#include "generalized-vectors.h" #include "random.h" + /* * A plugin interface for RNGs |