X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/06efa573c7894caa4e5aa1ac7c64bd10ea25928b..04ee0c3f6ad7e4177cc43a0c57f046013a4fbac9:/uip/replsbr.c?ds=sidebyside diff --git a/uip/replsbr.c b/uip/replsbr.c index 2fadb1d1..4c795ac8 100644 --- a/uip/replsbr.c +++ b/uip/replsbr.c @@ -5,17 +5,21 @@ * complete copyright information. */ -#include -#include -#include +#include "h/mh.h" +#include "sbr/pidstatus.h" +#include "sbr/arglist.h" +#include "sbr/error.h" +#include "h/addrsbr.h" +#include "h/fmt_scan.h" #include "h/done.h" -#include -#include /* L_SET */ +#include "h/utils.h" +#include +#include "replsbr.h" -extern short ccto; /* from repl.c */ -extern short cccc; -extern short ccme; -extern short querysw; +short ccto = -1; +short cccc = -1; +short ccme = -1; +short querysw = 0; static int dftype=0; @@ -483,9 +487,9 @@ replfilter (FILE *in, FILE *out, char *filter, int fmtproc) } -static -char * -fix_addresses (char *str) { +static char * +fix_addresses (char *str) +{ char *fixed_str = NULL; bool fixed_address = false;