From b2b79edc428be405697bb38269b68bb0d2f6de14 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 10 Apr 1991 13:32:42 +0000 Subject: [PATCH] Removed use of STATIC --- lang/m2/m2mm/LLlex.c | 6 +++--- lang/m2/m2mm/Makefile | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lang/m2/m2mm/LLlex.c b/lang/m2/m2mm/LLlex.c index dde9a8daa..43c8af03e 100644 --- a/lang/m2/m2mm/LLlex.c +++ b/lang/m2/m2mm/LLlex.c @@ -25,7 +25,7 @@ int ForeignFlag; extern char *getwdir(); -STATIC +static SkipComment() { /* Skip Modula-2 comments (* ... *). @@ -76,7 +76,7 @@ SkipComment() } } -STATIC +static GetString(upto) { /* Read a Modula-2 string, delimited by the character "upto". @@ -98,7 +98,7 @@ GetString(upto) static char *s_error = "illegal line directive"; -STATIC int +static int getch() { register int ch; diff --git a/lang/m2/m2mm/Makefile b/lang/m2/m2mm/Makefile index 4fa579feb..a2f013ea4 100644 --- a/lang/m2/m2mm/Makefile +++ b/lang/m2/m2mm/Makefile @@ -16,8 +16,8 @@ PROFILE = M2COMPILER = m2 DEFDIR = lib/m2 HOMEDIR = -CFLAGS = -O $(PROFILE) $(INCLUDES) -DSTATIC= -DM2COMPILER=\"$(M2COMPILER)\" -DDEF_DIR=\"$(DEFDIR)\" $(HOMEDIR) -LINTFLAGS = -DSTATIC= -DNORCSID +CFLAGS = -O $(PROFILE) $(INCLUDES) -DM2COMPILER=\"$(M2COMPILER)\" -DDEF_DIR=\"$(DEFDIR)\" $(HOMEDIR) +LINTFLAGS = -DNORCSID MALLOC = $(LIBDIR)/malloc.o LDFLAGS = $(PROFILE) LSRC = tokenfile.c program.c declar.c expression.c statement.c -- 2.34.1