X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/06efa573c7894caa4e5aa1ac7c64bd10ea25928b..8ce0a681f1e9e68d0623a066fb485b7be1267028:/uip/replsbr.c diff --git a/uip/replsbr.c b/uip/replsbr.c index 2fadb1d1..1a0c919c 100644 --- a/uip/replsbr.c +++ b/uip/replsbr.c @@ -5,17 +5,24 @@ * complete copyright information. */ -#include -#include -#include +#include "h/mh.h" +#include "sbr/closefds.h" +#include "sbr/uprf.h" +#include "sbr/escape_addresses.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 +490,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;