From: ceriel Date: Tue, 17 Dec 1991 15:49:18 +0000 (+0000) Subject: Do not use '#endif/#else xxx'; it is not allowed for ANSI C X-Git-Tag: release-5-5~540 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=168634cd0ba94e3f07d88ee7412c688ffc1fabe5;p=ack.git Do not use '#endif/#else xxx'; it is not allowed for ANSI C --- diff --git a/util/ego/cs/cs_debug.h b/util/ego/cs/cs_debug.h index 9433ccd25..f7f1694d9 100644 --- a/util/ego/cs/cs_debug.h +++ b/util/ego/cs/cs_debug.h @@ -29,10 +29,10 @@ extern SHOWAVAIL(); /* (avail_p avp) * Shows an available expression. */ -#else TRACE +#else /* TRACE */ #define OUTAVAILS() #define OUTENTITIES() #define SHOWAVAIL(x) -#endif TRACE +#endif /* TRACE */ diff --git a/util/int/fra.h b/util/int/fra.h index 3926b96cb..3b97ed65e 100644 --- a/util/int/fra.h +++ b/util/int/fra.h @@ -15,4 +15,4 @@ extern char *FRA_sh; /* shadowbytes of Function Return Area */ #define spoilFRA() -#endif LOGGING +#endif /* LOGGING */ diff --git a/util/led/scan.h b/util/led/scan.h index 8657f0659..1784d19ea 100644 --- a/util/led/scan.h +++ b/util/led/scan.h @@ -14,4 +14,4 @@ #define IND_CHAR(x) (IND_NAME(x) + (x).oh_nname * sizeof(struct outname)) #ifdef SYMDBUG #define OFF_DBUG(x) (OFF_CHAR(x) + (x).oh_nchar) -#endif SYMDBUG +#endif /* SYMDBUG */