summaryrefslogtreecommitdiff
path: root/libguile/filesys.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/filesys.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/filesys.c')
-rw-r--r--libguile/filesys.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/libguile/filesys.c b/libguile/filesys.c
index 5f1297735..a219417ab 100644
--- a/libguile/filesys.c
+++ b/libguile/filesys.c
@@ -1,5 +1,5 @@
-/* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2006,
- * 2009, 2010, 2011, 2012, 2013, 2014, 2016, 2017, 2018 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2002,2004,2006,2009-2014,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
@@ -79,20 +79,19 @@
# include <sys/sendfile.h>
#endif
-#include "gsubr.h"
-#include "pairs.h"
-#include "boolean.h"
#include "async.h"
+#include "boolean.h"
#include "dynwind.h"
#include "fdes-finalizers.h"
#include "feature.h"
-#include "filesys.h"
#include "fports.h"
+#include "gsubr.h"
#include "iselect.h"
#include "list.h"
#include "load.h" /* for scm_i_mirror_backslashes */
#include "modules.h"
#include "numbers.h"
+#include "pairs.h"
#include "ports-internal.h"
#include "ports.h"
#include "posix.h"
@@ -103,6 +102,9 @@
#include "syscalls.h"
#include "vectors.h"
+#include "filesys.h"
+
+
#define NAMLEN(dirent) strlen ((dirent)->d_name)