summaryrefslogtreecommitdiff
path: root/libguile/loader.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2018-06-20 18:31:24 +0200
committerAndy Wingo <wingo@pobox.com>2018-06-20 18:31:24 +0200
commitb8d757732fae7c396d58327185f94e5d90846445 (patch)
treef7cc7ebe65b5722b74f519f0b4db8a0d95fbc528 /libguile/loader.c
parent3068bc738429286db225b618607848a5a40f82ce (diff)
downloadguile-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/loader.c')
-rw-r--r--libguile/loader.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/libguile/loader.c b/libguile/loader.c
index e537ea82e..92e4f8f2d 100644
--- a/libguile/loader.c
+++ b/libguile/loader.c
@@ -21,36 +21,36 @@
# include <config.h>
#endif
-#include <string.h>
+#include <alignof.h>
+#include <assert.h>
+#include <byteswap.h>
+#include <errno.h>
#include <fcntl.h>
+#include <full-read.h>
+#include <string.h>
+#include <sys/stat.h>
+#include <sys/types.h>
#include <unistd.h>
+#include <verify.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
-#include <sys/stat.h>
-#include <sys/types.h>
-#include <assert.h>
-#include <alignof.h>
-#include <byteswap.h>
-#include <errno.h>
-#include <verify.h>
-
-#include <full-read.h>
-
-#include "gsubr.h"
-#include "bytevectors.h"
#include "boolean.h"
+#include "bytevectors.h"
#include "elf.h"
#include "eval.h"
#include "extensions.h"
+#include "gsubr.h"
#include "pairs.h"
#include "programs.h"
#include "strings.h"
#include "threads.h"
+
#include "loader.h"
+
/* This file contains the loader for Guile's on-disk format: ELF with
some custom tags in the dynamic segment. */