From: Janne Blomqvist Date: Thu, 19 Nov 2009 20:23:03 +0000 (+0200) Subject: Move includes after include guards X-Git-Tag: releases/gcc-4.5.0~2262 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=872d20942396943c60a6c4047ce19a1fc116c29f;p=thirdparty%2Fgcc.git Move includes after include guards From-SVN: r154343 --- diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 8a816fc9e5ad..a1cb0d091753 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,9 @@ +2009-11-19 Janne Blomqvist + + * io/fbuf.h: Move includes after include guard. + * io/format.h: Likewise. + * io/unix.h: Likewise. + 2009-11-18 Jerry DeLisle PR libgfortran/42090 diff --git a/libgfortran/io/fbuf.h b/libgfortran/io/fbuf.h index 368cec28b2cc..c82d01b2b988 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 . */ -#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 c338daa19504..4abbbea437ec 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 . */ -#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 721c63c02e4f..f0f0712457a4 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 . */ -#include "io.h" - #ifndef GFOR_UNIX_H #define GFOR_UNIX_H +#include "io.h" + + struct stream { ssize_t (*read) (struct stream *, void *, ssize_t);