Moved some macros to ../share, changed lint flags
authorceriel <none@none>
Mon, 17 Dec 1990 16:48:31 +0000 (16:48 +0000)
committerceriel <none@none>
Mon, 17 Dec 1990 16:48:31 +0000 (16:48 +0000)
util/ego/ud/Makefile
util/ego/ud/ud_const.c
util/ego/ud/ud_defs.c

index 807f219..a06bbcd 100644 (file)
@@ -7,7 +7,7 @@ SHR=../share
 LDFLAGS=-i
 CPPFLAGS=-DVERBOSE -DNOTCOMPACT
 CFLAGS=$(CPPFLAGS) -O
-LINTFLAGS=-hbac
+LINTFLAGS=-hbu
 
 CFILES=\
 ud.c ud_defs.c ud_const.c ud_copy.c ud_aux.c
index b668f15..08f58f3 100644 (file)
@@ -6,7 +6,7 @@
 /* C O N S T A N T   P R O P A G A T I O N */
 
 #include "../share/types.h"
-#include "../ud/ud.h"
+#include "ud.h"
 #include "../share/debug.h"
 #include "../share/global.h"
 #include "../share/alloc.h"
 #include "../../../h/em_mnem.h"
 #include "../../../h/em_pseu.h"
 #include "../../../h/em_spec.h"
-#include "../ud/ud_defs.h"
+#include "ud_defs.h"
 #include "ud_const.h"
 #include "ud_aux.h"
 
 
-#define CHANGE_INDIR(p)        (p->p_change->c_flags & CF_INDIR)
 #define IS_REG(v)      (locals[TO_LOCAL(v)]->lc_flags & LCF_REG)
-#define BODY_KNOWN(p)  (p->p_flags1 & (byte) PF_BODYSEEN)
 #define CALLS_UNKNOWN(p) (p->p_flags1 & (byte) PF_CALUNKNOWN)
 
 
index f25e2e7..40d4b0f 100644 (file)
@@ -22,9 +22,6 @@
 #include "../share/alloc.h"
 #include "../share/aux.h"
 
-#define BODY_KNOWN(p)  (p->p_flags1 & (byte) PF_BODYSEEN)
-#define CHANGE_INDIR(p)        (p->p_change->c_flags & CF_INDIR)
-
 short nrdefs;          /* total number of definitions */
 short nrexpldefs;      /* number of explicit definitions */
 line_p *defs;