Removed some incorrect STATIC's
authorceriel <none@none>
Fri, 15 Feb 1991 14:54:53 +0000 (14:54 +0000)
committerceriel <none@none>
Fri, 15 Feb 1991 14:54:53 +0000 (14:54 +0000)
lang/pc/comp/Makefile
lang/pc/comp/chk_expr.c
lang/pc/comp/scope.c
lang/pc/comp/type.c

index b80a3d7..0e42428 100644 (file)
@@ -54,7 +54,7 @@ INCLUDES =    -I$(MHDIR) -I$(EMHOME)/h -I$(PKGDIR)
 OPTIM=         -O
 CFLAGS =       $(PROFILE) $(INCLUDES) $(OPTIM) $(COPTIONS) -DSTATIC=
 LINTFLAGS =    -DSTATIC= -DNORCSID
-LDFLAGS =      -i $(PROFILE)
+LDFLAGS =      $(PROFILE)
 
 LSRC = declar.c expression.c program.c statement.c tokenfile.c
 LOBJ = declar.o expression.o program.o statement.o tokenfile.o
index f10ef47..834aa49 100644 (file)
@@ -78,7 +78,7 @@ MarkUsed(nd)
        }
 }
 
-STATIC int
+int
 ChkConstant(expp)
        register struct node *expp;
 {
@@ -175,7 +175,7 @@ ChkValue(expp)
 }
 #endif
 
-STATIC int
+int
 ChkLinkOrName(expp)
        register struct node *expp;
 {
index 6967074..f96b6ef 100644 (file)
@@ -73,7 +73,6 @@ Forward(nd, tp)
        fw_type->f_type = tp;
 }
 
-STATIC
 chk_prog_params()
 {
        /* the program parameters must be global variables of some file type */
@@ -97,7 +96,6 @@ chk_prog_params()
        }
 }
 
-STATIC
 chk_directives()
 {
        /* check if all forward declarations are defined */
index 90b0083..497efe8 100644 (file)
@@ -499,7 +499,6 @@ FreeForward(for_type)
        free_forwtype(for_type);
 }
 
-STATIC
 chk_forw_types()
 {
        /* check all forward references (in pointer types) */
@@ -566,7 +565,6 @@ chk_forw_types()
        }
 }
 
-STATIC
 TstCaseConstants(nd, sel, sel1)
        register struct node *nd;
        register struct selector *sel, *sel1;