[PATCH,gfortran] Clean up unnecessary header files
Tobias Schlüter
tobias.schlueter@physik.uni-muenchen.de
Sat Jan 8 13:36:00 GMT 2005
One place was missing in this patch: gfortran.h included stdio.h. Fixed by
the appended patch. With this change the comment preceding system.h is
outdated because we need system.h for FILE, therefore I removed it along the way.
Bubblestrapped & tested. Committed under the obviously correct rule.
- Tobi
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fortran/ChangeLog,v
retrieving revision 1.283
diff -u -p -r1.283 ChangeLog
--- ChangeLog 6 Jan 2005 16:41:35 -0000 1.283
+++ ChangeLog 8 Jan 2005 13:30:40 -0000
@@ -1,3 +1,8 @@
+2005-01-08 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
+
+ * gfortran.h: Remove outdated comment. Don't include stdio.h
+ explicitly.
+
2005-01-06 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* gfortranspec.c (lang_specific_driver): Change year to 2005 in
Index: gfortran.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fortran/gfortran.h,v
retrieving revision 1.48
diff -u -p -r1.48 gfortran.h
--- gfortran.h 29 Dec 2004 02:48:27 -0000 1.48
+++ gfortran.h 8 Jan 2005 13:30:40 -0000
@@ -29,8 +29,6 @@ Software Foundation, 59 Temple Place - S
multiple header files. Besides, Microsoft's winnt.h was 250k last
time I looked, so by comparison this is perfectly reasonable. */
-/* We need system.h for HOST_WIDE_INT. Including hwint.h by itself doesn't
- seem to be sufficient on some systems. */
#include "system.h"
#include "coretypes.h"
#include "input.h"
@@ -54,9 +52,6 @@ char *alloca ();
#endif /* do not HAVE_ALLOCA_H */
#endif /* not __GNUC__ */
-
-#include <stdio.h> /* need FILE * here */
-
/* Major control parameters. */
#define GFC_MAX_SYMBOL_LEN 63
More information about the Fortran
mailing list