This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Fix warning in fortran/match.c
- From: Diego Novillo <dnovillo at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Fri, 8 Apr 2005 14:07:46 -0400
- Subject: Fix warning in fortran/match.c
- Organization: Red Hat Canada
Approved offline by stevenb.
Diego.
* match.c (gfc_match_arithmetic_if): Declare static.
Index: match.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fortran/match.c,v
retrieving revision 1.33
diff -d -u -p -r1.33 match.c
--- match.c 8 Apr 2005 10:56:58 -0000 1.33
+++ match.c 8 Apr 2005 18:04:44 -0000
@@ -903,7 +903,7 @@ cleanup:
* when just after having encountered a simple IF statement. This code
* is really duplicate with parts of the gfc_match_if code, but this is
* *much* easier. */
-match
+static match
gfc_match_arithmetic_if (void)
{
gfc_st_label *l1, *l2, *l3;