Browse Source

moved some static declarations that were illegal ANSI C

ceriel 33 years ago
parent
commit
b36936693f
1 changed files with 3 additions and 2 deletions
  1. 3 2
      lang/m2/comp/chk_expr.c

+ 3 - 2
lang/m2/comp/chk_expr.c

@@ -719,6 +719,9 @@ ChkFunCall(expp)
 	return 0;
 }
 
+STATIC int ChkStandard();
+STATIC int ChkCast();
+
 int
 ChkCall(expp)
 	register t_node *expp;
@@ -728,8 +731,6 @@ ChkCall(expp)
 		it may also be a cast or a standard procedure call.
 	*/
 	register t_node *left = expp->nd_left;
-	STATIC int ChkStandard();
-	STATIC int ChkCast();
 
 	/* First, get the name of the function or procedure
 	*/