X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/00d760f7506c2d5c32ab5abf9f11b3066999f08a..ee412cbd5c0667742a128fb4e1c89801528a9a48:/uip/ap.c diff --git a/uip/ap.c b/uip/ap.c index fbcf62b0..8be42a02 100644 --- a/uip/ap.c +++ b/uip/ap.c @@ -5,12 +5,20 @@ * complete copyright information. */ -#include -#include -#include -#include +#include "h/mh.h" +#include "sbr/fmt_new.h" +#include "sbr/getarguments.h" +#include "sbr/smatch.h" +#include "sbr/getcpy.h" +#include "sbr/ambigsw.h" +#include "sbr/print_version.h" +#include "sbr/print_help.h" +#include "sbr/error.h" +#include "h/addrsbr.h" +#include "h/fmt_scan.h" +#include "h/mts.h" #include "h/done.h" -#include +#include "h/utils.h" #include "sbr/terminal.h" #define NADDRS 100 @@ -53,7 +61,7 @@ main (int argc, char **argv) char buf[BUFSIZ], **argp; char *addrs[NADDRS + 1]; /* Includes terminating NULL. */ - if (nmh_init(argv[0], 2)) { return 1; } + if (nmh_init(argv[0], true, false)) { return 1; } mts_init ();