diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2009-11-19 22:23:03 +0200 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2009-11-19 22:23:03 +0200 |
commit | 872d20942396943c60a6c4047ce19a1fc116c29f (patch) | |
tree | 409acf997a348ca7f23a7729bdb26ef36f762fdb /libgfortran/io | |
parent | e4d5031cc88db53fe3aa9759b9c9780c179b21b5 (diff) | |
download | gcc-872d20942396943c60a6c4047ce19a1fc116c29f.zip gcc-872d20942396943c60a6c4047ce19a1fc116c29f.tar.gz gcc-872d20942396943c60a6c4047ce19a1fc116c29f.tar.bz2 |
Move includes after include guards
From-SVN: r154343
Diffstat (limited to 'libgfortran/io')
-rw-r--r-- | libgfortran/io/fbuf.h | 4 | ||||
-rw-r--r-- | libgfortran/io/format.h | 5 | ||||
-rw-r--r-- | libgfortran/io/unix.h | 5 |
3 files changed, 8 insertions, 6 deletions
diff --git a/libgfortran/io/fbuf.h b/libgfortran/io/fbuf.h index 368cec2..c82d01b 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 c338daa..4abbbea 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 721c63c..f0f0712 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); |