Moved some macros to ../share, changed lint flags

This commit is contained in:
ceriel 1990-12-17 16:48:31 +00:00
parent 5dee3d1b26
commit 8b397ebf05
3 changed files with 3 additions and 8 deletions

View 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

View 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"
@ -18,14 +18,12 @@
#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)

View 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;