summaryrefslogtreecommitdiff
path: root/libguile/rw.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/rw.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/rw.c')
-rw-r--r--libguile/rw.c21
1 files changed, 12 insertions, 9 deletions
diff --git a/libguile/rw.c b/libguile/rw.c
index d8c0c2de0..6666e8ff7 100644
--- a/libguile/rw.c
+++ b/libguile/rw.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2001, 2006, 2009, 2011, 2014, 2018 Free Software Foundation, Inc.
+/* Copyright (C) 2001,2006,2009,2011,2014,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
@@ -26,23 +27,25 @@
#include <errno.h>
#include <string.h>
+#include <unistd.h>
+
+#ifdef HAVE_IO_H
+#include <io.h>
+#endif
-#include "gsubr.h"
#include "async.h"
#include "fports.h"
+#include "gsubr.h"
+#include "modules.h"
#include "numbers.h"
+#include "ports-internal.h"
#include "ports.h"
-#include "rw.h"
#include "strings.h"
-#include "modules.h"
#include "strports.h"
#include "syscalls.h"
-#include "ports-internal.h"
-#include <unistd.h>
-#ifdef HAVE_IO_H
-#include <io.h>
-#endif
+#include "rw.h"
+