Commit 872d2094 by Janne Blomqvist

Move includes after include guards

From-SVN: r154343
parent e4d5031c
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> 2009-11-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/42090 PR libgfortran/42090
......
...@@ -23,11 +23,11 @@ a copy of the GCC Runtime Library Exception along with this program; ...@@ -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 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#include "io.h"
#ifndef GFOR_FBUF_H #ifndef GFOR_FBUF_H
#define GFOR_FBUF_H #define GFOR_FBUF_H
#include "io.h"
/* Formatting buffer. This is a temporary scratch buffer used by /* Formatting buffer. This is a temporary scratch buffer used by
formatted read and writes. After every formatted I/O statement, formatted read and writes. After every formatted I/O statement,
......
...@@ -23,11 +23,12 @@ a copy of the GCC Runtime Library Exception along with this program; ...@@ -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 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#include "io.h"
#ifndef GFOR_FORMAT_H #ifndef GFOR_FORMAT_H
#define GFOR_FORMAT_H #define GFOR_FORMAT_H
#include "io.h"
/* Format tokens. Only about half of these can be stored in the /* Format tokens. Only about half of these can be stored in the
format nodes. */ format nodes. */
......
...@@ -23,11 +23,12 @@ a copy of the GCC Runtime Library Exception along with this program; ...@@ -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 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#include "io.h"
#ifndef GFOR_UNIX_H #ifndef GFOR_UNIX_H
#define GFOR_UNIX_H #define GFOR_UNIX_H
#include "io.h"
struct stream struct stream
{ {
ssize_t (*read) (struct stream *, void *, ssize_t); ssize_t (*read) (struct stream *, void *, ssize_t);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment