From: ceriel Date: Tue, 19 Apr 1988 09:57:44 +0000 (+0000) Subject: assert macro has one parameter X-Git-Tag: release-5-5~3396 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=da872ef7897ec0fa9c27b2da3d647f12a64243f6;p=ack.git assert macro has one parameter --- diff --git a/lang/pc/libpc/new.c b/lang/pc/libpc/new.c index 10f1685bf..903706a3f 100644 --- a/lang/pc/libpc/new.c +++ b/lang/pc/libpc/new.c @@ -21,7 +21,7 @@ extern _sav(); extern _rst(); -#define assert() /* nothing */ +#define assert(x) /* nothing */ #define UNDEF 0x8000 struct adm { diff --git a/lang/pc/libpc/pac.c b/lang/pc/libpc/pac.c index ddab405a2..6c547bd31 100644 --- a/lang/pc/libpc/pac.c +++ b/lang/pc/libpc/pac.c @@ -22,7 +22,7 @@ extern _trp(); -#define assert() /* nothing */ +#define assert(x) /* nothing */ struct descr { int low; diff --git a/lang/pc/libpc/unp.c b/lang/pc/libpc/unp.c index 10990c5d6..98a3e9149 100644 --- a/lang/pc/libpc/unp.c +++ b/lang/pc/libpc/unp.c @@ -22,7 +22,7 @@ extern _trp(); -#define assert() /* nothing */ +#define assert(x) /* nothing */ struct descr { int low; diff --git a/lang/pc/libpc/wrf.c b/lang/pc/libpc/wrf.c index 37531fa45..d7c592b49 100644 --- a/lang/pc/libpc/wrf.c +++ b/lang/pc/libpc/wrf.c @@ -23,7 +23,7 @@ extern _wstrin(); extern char *_fcvt(); -#define assert() /* nothing */ +#define assert(x) /* nothing */ #define HUGE_DIG 39 /* log10(maxreal) */ #define PREC_DIG 80 /* the maximum digits returned by _fcvt() */