Removed the definition of the NEEDS variable.
This commit is contained in:
parent
0b9b183085
commit
9932e38ab2
|
@ -17,7 +17,6 @@
|
|||
|
||||
#define HOME "EM"
|
||||
#define RTS "RTS"
|
||||
#define NEEDS "NEEDS"
|
||||
#define HEAD "HEAD"
|
||||
#define TAIL "TAIL"
|
||||
#define SRC "SOURCE"
|
||||
|
|
|
@ -119,19 +119,6 @@ do_Rflag(argp) char *argp ; {
|
|||
l_add(&R_list,argp) ;
|
||||
}
|
||||
|
||||
char *needvar() {
|
||||
static growstring needed ;
|
||||
static int been_here = NO ;
|
||||
|
||||
if ( !been_here ) {
|
||||
gr_init(&needed) ;
|
||||
been_here=YES ;
|
||||
gr_cat(&needed,headvar()) ;
|
||||
gr_cat(&needed,tailvar()) ;
|
||||
}
|
||||
return gr_start(needed) ;
|
||||
}
|
||||
|
||||
char *headvar() {
|
||||
if ( !touch_head) return "" ;
|
||||
return gr_start(head) ;
|
||||
|
@ -171,7 +158,6 @@ transini() {
|
|||
set_Rflag(l_content(*elem)) ;
|
||||
}
|
||||
l_clear(&R_list) ;
|
||||
setpvar(keeps(NEEDS),needvar) ;
|
||||
setpvar(keeps(HEAD),headvar) ;
|
||||
setpvar(keeps(TAIL),tailvar) ;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue