This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[libgfortran, committed] Add missing includes to intrinsics/rename.c


I spotted a few warnings being issued when building rename.c.  They were due
to missing includes.  Fixed thusly.

Bubblestrapped and I verified that the warnings disappeared.  Committed to the
mainline.

- Tobi

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libgfortran/ChangeLog,v
retrieving revision 1.203
diff -u -p -r1.203 ChangeLog
--- ChangeLog   28 Apr 2005 20:25:11 -0000      1.203
+++ ChangeLog   29 Apr 2005 00:44:02 -0000
@@ -1,3 +1,7 @@
+2004-04-29  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
+
+       * intrinsics/rename.c: Add missing #includes.
+
 2004-04-28  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>

        * AUTHORS, COPYING, INSTALL, NEWS, README: Remove.
Index: intrinsics/rename.c
===================================================================
RCS file: /cvs/gcc/gcc/libgfortran/intrinsics/rename.c,v
retrieving revision 1.1
diff -u -p -r1.1 rename.c
--- intrinsics/rename.c 22 Mar 2005 22:08:22 -0000      1.1
+++ intrinsics/rename.c 29 Apr 2005 00:44:02 -0000
@@ -32,6 +32,8 @@ Boston, MA 02111-1307, USA.  */
 #include "libgfortran.h"

 #include <errno.h>
+#include <stdio.h>
+#include <string.h>

 #include "../io/io.h"


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