Removed use of STATIC
This commit is contained in:
parent
c0d92bbc76
commit
b2b79edc42
2 changed files with 5 additions and 5 deletions
|
@ -25,7 +25,7 @@ int ForeignFlag;
|
||||||
|
|
||||||
extern char *getwdir();
|
extern char *getwdir();
|
||||||
|
|
||||||
STATIC
|
static
|
||||||
SkipComment()
|
SkipComment()
|
||||||
{
|
{
|
||||||
/* Skip Modula-2 comments (* ... *).
|
/* Skip Modula-2 comments (* ... *).
|
||||||
|
@ -76,7 +76,7 @@ SkipComment()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
STATIC
|
static
|
||||||
GetString(upto)
|
GetString(upto)
|
||||||
{
|
{
|
||||||
/* Read a Modula-2 string, delimited by the character "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 char *s_error = "illegal line directive";
|
||||||
|
|
||||||
STATIC int
|
static int
|
||||||
getch()
|
getch()
|
||||||
{
|
{
|
||||||
register int ch;
|
register int ch;
|
||||||
|
|
|
@ -16,8 +16,8 @@ PROFILE =
|
||||||
M2COMPILER = m2
|
M2COMPILER = m2
|
||||||
DEFDIR = lib/m2
|
DEFDIR = lib/m2
|
||||||
HOMEDIR =
|
HOMEDIR =
|
||||||
CFLAGS = -O $(PROFILE) $(INCLUDES) -DSTATIC= -DM2COMPILER=\"$(M2COMPILER)\" -DDEF_DIR=\"$(DEFDIR)\" $(HOMEDIR)
|
CFLAGS = -O $(PROFILE) $(INCLUDES) -DM2COMPILER=\"$(M2COMPILER)\" -DDEF_DIR=\"$(DEFDIR)\" $(HOMEDIR)
|
||||||
LINTFLAGS = -DSTATIC= -DNORCSID
|
LINTFLAGS = -DNORCSID
|
||||||
MALLOC = $(LIBDIR)/malloc.o
|
MALLOC = $(LIBDIR)/malloc.o
|
||||||
LDFLAGS = $(PROFILE)
|
LDFLAGS = $(PROFILE)
|
||||||
LSRC = tokenfile.c program.c declar.c expression.c statement.c
|
LSRC = tokenfile.c program.c declar.c expression.c statement.c
|
||||||
|
|
Loading…
Reference in a new issue