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]

Fix warning in fortran/match.c


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;


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