From 70b035d559b7d79c6f4ba556b65c1509a1bbede0 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 16 Nov 1993 11:49:17 +0000 Subject: [PATCH] Define PRIVATE as static, and consequences --- lang/cem/cemcom/interface.h | 2 +- lang/cem/cemcom/scan.c | 2 +- lang/cem/cemcom/skip.c | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lang/cem/cemcom/interface.h b/lang/cem/cemcom/interface.h index e75dd7749..4abd01b21 100644 --- a/lang/cem/cemcom/interface.h +++ b/lang/cem/cemcom/interface.h @@ -3,6 +3,6 @@ * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * See the copyright notice in the ACK home directory, in the file "Copyright". */ -#define PRIVATE /*static /* or not */ +#define PRIVATE static /* or not */ #define IMPORT extern #define EXPORT diff --git a/lang/cem/cemcom/scan.c b/lang/cem/cemcom/scan.c index 2a9ccbf8c..6c295f1b0 100644 --- a/lang/cem/cemcom/scan.c +++ b/lang/cem/cemcom/scan.c @@ -34,7 +34,7 @@ PRIVATE char *aptr; /* pointer to last inserted character in apbuf */ PRIVATE int nr_of_params; /* number of actuals read until now */ -PRIVATE char ** +char ** getactuals(idef) register struct idf *idef; { diff --git a/lang/cem/cemcom/skip.c b/lang/cem/cemcom/skip.c index 5da339b27..ee3ccb5c2 100644 --- a/lang/cem/cemcom/skip.c +++ b/lang/cem/cemcom/skip.c @@ -13,7 +13,7 @@ #include "interface.h" #ifndef NOPP -PRIVATE int +int skipspaces(ch, skipnl) register int ch; { @@ -58,7 +58,6 @@ skipspaces(ch, skipnl) } #endif /* NOPP */ -PRIVATE skipline() { /* skipline() skips all characters until a newline character