diff --git a/util/ack/ack.h b/util/ack/ack.h index 860109238..51e605f41 100644 --- a/util/ack/ack.h +++ b/util/ack/ack.h @@ -17,7 +17,6 @@ #define HOME "EM" #define RTS "RTS" -#define NEEDS "NEEDS" #define HEAD "HEAD" #define TAIL "TAIL" #define SRC "SOURCE" diff --git a/util/ack/trans.c b/util/ack/trans.c index 1e383fe29..8d0162556 100644 --- a/util/ack/trans.c +++ b/util/ack/trans.c @@ -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) ; }