Fix warning in fortran/match.c

Diego Novillo dnovillo@redhat.com
Fri Apr 8 18:07:00 GMT 2005


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;



More information about the Gcc-patches mailing list