summaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-19 20:23:03 +0000
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-19 20:23:03 +0000
commit6f57677842a83543b881e6444525b36be8931c52 (patch)
tree409acf997a348ca7f23a7729bdb26ef36f762fdb /libgfortran
parentfdf5c07ecbe81aadebb971c0f3bbb9c0f7fb038f (diff)
downloadgcc-6f57677842a83543b881e6444525b36be8931c52.tar.gz
Move includes after include guards
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154343 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog6
-rw-r--r--libgfortran/io/fbuf.h4
-rw-r--r--libgfortran/io/format.h5
-rw-r--r--libgfortran/io/unix.h5
4 files changed, 14 insertions, 6 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 8a816fc9e5a..a1cb0d09175 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,9 @@
+2009-11-19 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * io/fbuf.h: Move includes after include guard.
+ * io/format.h: Likewise.
+ * io/unix.h: Likewise.
+
2009-11-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/42090
diff --git a/libgfortran/io/fbuf.h b/libgfortran/io/fbuf.h
index 368cec28b2c..c82d01b2b98 100644
--- a/libgfortran/io/fbuf.h
+++ b/libgfortran/io/fbuf.h
@@ -23,11 +23,11 @@ a copy of the GCC Runtime Library Exception along with this program;
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
-#include "io.h"
-
#ifndef GFOR_FBUF_H
#define GFOR_FBUF_H
+#include "io.h"
+
/* Formatting buffer. This is a temporary scratch buffer used by
formatted read and writes. After every formatted I/O statement,
diff --git a/libgfortran/io/format.h b/libgfortran/io/format.h
index c338daa1950..4abbbea437e 100644
--- a/libgfortran/io/format.h
+++ b/libgfortran/io/format.h
@@ -23,11 +23,12 @@ a copy of the GCC Runtime Library Exception along with this program;
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
-#include "io.h"
-
#ifndef GFOR_FORMAT_H
#define GFOR_FORMAT_H
+#include "io.h"
+
+
/* Format tokens. Only about half of these can be stored in the
format nodes. */
diff --git a/libgfortran/io/unix.h b/libgfortran/io/unix.h
index 721c63c02e4..f0f0712457a 100644
--- a/libgfortran/io/unix.h
+++ b/libgfortran/io/unix.h
@@ -23,11 +23,12 @@ a copy of the GCC Runtime Library Exception along with this program;
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
-#include "io.h"
-
#ifndef GFOR_UNIX_H
#define GFOR_UNIX_H
+#include "io.h"
+
+
struct stream
{
ssize_t (*read) (struct stream *, void *, ssize_t);