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/error.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/error.c')
-rw-r--r-- | libguile/error.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/libguile/error.c b/libguile/error.c index 83b17e585..cc75b5076 100644 --- a/libguile/error.c +++ b/libguile/error.c @@ -24,13 +24,20 @@ # include <config.h> #endif -#include <stdlib.h> -#include <stdio.h> #include <errno.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> + +/* For Windows... */ +#ifdef HAVE_IO_H +#include <io.h> +#endif -#include "gsubr.h" #include "async.h" #include "dynwind.h" +#include "gsubr.h" #include "list.h" #include "modules.h" #include "numbers.h" @@ -41,15 +48,7 @@ #include "error.h" -#ifdef HAVE_STRING_H -#include <string.h> -#endif -#include <unistd.h> -/* For Windows... */ -#ifdef HAVE_IO_H -#include <io.h> -#endif /* {Errors and Exceptional Conditions} |