From 50c8fe71c34c83e786096cd9705c24dac160bfe3 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 17 Dec 1990 13:09:57 +0000 Subject: [PATCH] changed lint flags, changed macro name, deleted unused macro --- util/ego/cf/Makefile | 2 +- util/ego/cf/cf.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/util/ego/cf/Makefile b/util/ego/cf/Makefile index d4400516b..eb3ae3642 100644 --- a/util/ego/cf/Makefile +++ b/util/ego/cf/Makefile @@ -7,7 +7,7 @@ SHR=../share LDFLAGS=-i CPPFLAGS=-DVERBOSE -DNOTCOMPACT CFLAGS=$(CPPFLAGS) -O -LINTFLAGS=-hbac +LINTFLAGS=-hbu CFILES=\ cf.c cf_succ.c cf_idom.c cf_loop.c diff --git a/util/ego/cf/cf.c b/util/ego/cf/cf.c index 806ddd2bc..eabdb95a3 100644 --- a/util/ego/cf/cf.c +++ b/util/ego/cf/cf.c @@ -362,10 +362,9 @@ STATIC cf_cleanproc(p) -#define CHANGE_INDIR(ch) ((ch->c_flags & CF_INDIR) != 0) +#define CH_CHANGE_INDIR(ch) ((ch->c_flags & CF_INDIR) != 0) #define USE_INDIR(us) ((us->u_flags & UF_INDIR) != 0) #define CALLS_UNKNOWN(p) (p->p_flags1 & (byte) PF_CALUNKNOWN) -#define BODY_KNOWN(p) (p->p_flags1 & (byte) PF_BODYSEEN) #define ENVIRON(p) (p->p_flags1 & (byte) PF_ENVIRON) @@ -422,7 +421,7 @@ STATIC bool add_info(q,p) Cjoin(chq->c_ext, &chp->c_ext); diff = TRUE; } - if (CHANGE_INDIR(chq) && !CHANGE_INDIR(chp)) { + if (CH_CHANGE_INDIR(chq) && !CH_CHANGE_INDIR(chp)) { /* q does a change-indirect (sil etc.) * and p did not (yet). */ -- 2.34.1