Moved some macros to ../share, changed lint flags
This commit is contained in:
parent
5dee3d1b26
commit
8b397ebf05
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue