Define PRIVATE as static, and consequences

This commit is contained in:
ceriel 1993-11-16 11:49:17 +00:00
parent 0c60f4c22f
commit 70b035d559
3 changed files with 3 additions and 4 deletions

View file

@ -3,6 +3,6 @@
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright". * 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 IMPORT extern
#define EXPORT #define EXPORT

View file

@ -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 int nr_of_params; /* number of actuals read until now */
PRIVATE char ** char **
getactuals(idef) getactuals(idef)
register struct idf *idef; register struct idf *idef;
{ {

View file

@ -13,7 +13,7 @@
#include "interface.h" #include "interface.h"
#ifndef NOPP #ifndef NOPP
PRIVATE int int
skipspaces(ch, skipnl) skipspaces(ch, skipnl)
register int ch; register int ch;
{ {
@ -58,7 +58,6 @@ skipspaces(ch, skipnl)
} }
#endif /* NOPP */ #endif /* NOPP */
PRIVATE
skipline() skipline()
{ {
/* skipline() skips all characters until a newline character /* skipline() skips all characters until a newline character