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/foreign.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/foreign.c')
-rw-r--r-- | libguile/foreign.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/libguile/foreign.c b/libguile/foreign.c index ec1033773..3fa735ee5 100644 --- a/libguile/foreign.c +++ b/libguile/foreign.c @@ -1,4 +1,5 @@ -/* Copyright (C) 2010-2016, 2018 Free Software Foundation, Inc. +/* Copyright (C) 2010-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 @@ -20,15 +21,14 @@ # include <config.h> #endif -#include <ffi.h> - -#include <alloca.h> #include <alignof.h> -#include <string.h> +#include <alloca.h> #include <assert.h> #include <errno.h> +#include <string.h> + +#include <ffi.h> -#include "gsubr.h" #include "boolean.h" #include "bytevectors.h" #include "dynwind.h" @@ -36,12 +36,12 @@ #include "eval.h" #include "extensions.h" #include "finalizers.h" -#include "foreign.h" +#include "gsubr.h" +#include "instructions.h" #include "keywords.h" -#include "numbers.h" #include "list.h" -#include "instructions.h" #include "modules.h" +#include "numbers.h" #include "pairs.h" #include "ports.h" #include "stacks.h" @@ -49,6 +49,8 @@ #include "threads.h" #include "weak-table.h" +#include "foreign.h" + /* Return the first integer greater than or equal to LEN such that |