This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, libfortran] Committed, move includes after include guards


Hi,

I committed the patch below as obvious.

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.


Index: fbuf.h
===================================================================
--- fbuf.h      (revision 154341)
+++ fbuf.h      (working copy)
@@ -23,11 +23,11 @@ a copy of the GCC Runtime Library Except
 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,
Index: unix.h
===================================================================
--- unix.h      (revision 154341)
+++ unix.h      (working copy)
@@ -23,11 +23,12 @@ a copy of the GCC Runtime Library Except
 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);
Index: format.h
===================================================================
--- format.h    (revision 154341)
+++ format.h    (working copy)
@@ -23,11 +23,12 @@ a copy of the GCC Runtime Library Except
 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.  */



-- 
Janne Blomqvist


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]