From a836599f53fffe28e3f2deca93331a7a74dcf511 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 17 Dec 1990 13:53:44 +0000 Subject: [PATCH] removed unused macros, changed lint flags --- util/ego/il/Makefile | 2 +- util/ego/il/il1_anal.c | 1 - util/ego/il/il1_aux.c | 1 - util/ego/il/il2_aux.c | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/util/ego/il/Makefile b/util/ego/il/Makefile index d36441976..1995debc1 100644 --- a/util/ego/il/Makefile +++ b/util/ego/il/Makefile @@ -7,7 +7,7 @@ SHR=../share LDFLAGS=-i CPPFLAGS=-DVERBOSE -DNOTCOMPACT CFLAGS=$(CPPFLAGS) -O -LINTFLAGS=-hbac +LINTFLAGS=-hbu CFILES=\ il.c il1_anal.c il1_cal.c il1_formal.c il1_aux.c il2_aux.c \ diff --git a/util/ego/il/il1_anal.c b/util/ego/il/il1_anal.c index c2958c43a..449ba6bd1 100644 --- a/util/ego/il/il1_anal.c +++ b/util/ego/il/il1_anal.c @@ -25,7 +25,6 @@ #include "il_aux.h" #include "../share/put.h" -#define BODY_KNOWN(p) (p->p_flags1 & (byte) PF_BODYSEEN) #define ENVIRON(p) (p->p_flags1 & (byte) PF_ENVIRON) #define RETURN_BLOCK(b) (Lnrelems(b->b_succ) == 0) #define LAST_BLOCK(b) (b->b_next == (bblock_p) 0) diff --git a/util/ego/il/il1_aux.c b/util/ego/il/il1_aux.c index 1d9307cd6..6fa74a8f1 100644 --- a/util/ego/il/il1_aux.c +++ b/util/ego/il/il1_aux.c @@ -18,7 +18,6 @@ #include "il_aux.h" #include "il1_aux.h" -#define CHANGE_INDIR(p) (p->p_change->c_flags & CF_INDIR) #define USE_INDIR(p) (p->p_use->u_flags & UF_INDIR) #define IS_INSTR(c) (c >= sp_fmnem && c <= sp_lmnem) diff --git a/util/ego/il/il2_aux.c b/util/ego/il/il2_aux.c index ba72fb903..6c33008cb 100644 --- a/util/ego/il/il2_aux.c +++ b/util/ego/il/il2_aux.c @@ -22,7 +22,6 @@ #include "../share/get.h" #include "../share/aux.h" -#define CHANGE_INDIR(p) (p->p_change->c_flags & CF_INDIR) #define USE_INDIR(p) (p->p_use->u_flags & UF_INDIR) #define OFTEN_USED(f) ((f->f_flags&FF_OFTENUSED) == FF_OFTENUSED) -- 2.34.1