summaryrefslogtreecommitdiff
path: root/libguile/strports.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/strports.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/strports.c')
-rw-r--r--libguile/strports.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/libguile/strports.c b/libguile/strports.c
index 5a0526c8f..fc6b7fd72 100644
--- a/libguile/strports.c
+++ b/libguile/strports.c
@@ -1,5 +1,5 @@
-/* Copyright (C) 1995, 1996, 1998-2003, 2005-2006,
- * 2009-2014, 2018 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1998-2003,2005-2006,2009-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
@@ -24,31 +24,28 @@
# include <config.h>
#endif
-#include "gsubr.h"
-
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#include "bytevectors.h"
+#include "deprecation.h"
#include "eval.h"
+#include "gsubr.h"
#include "keywords.h"
+#include "modules.h"
#include "ports.h"
#include "procs.h"
#include "read.h"
+#include "srfi-4.h"
#include "strings.h"
#include "symbols.h"
#include "syscalls.h"
-#include "modules.h"
-#include "deprecation.h"
-#include "srfi-4.h"
#include "threads.h"
#include "variable.h"
#include "strports.h"
-#ifdef HAVE_STRING_H
-#include <string.h>
-#endif