diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-12-11 19:50:05 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-12-11 19:50:05 +0000 |
commit | 0c1b05640df114e0b8c979b79f49e3ae163174cd (patch) | |
tree | 10504d3e84c6bf892bf8b0f9365d634dfc1b6fd4 /usr.bin | |
parent | d9512a89aea6bcc1810343917d16e928d037bf31 (diff) |
slightly reshuffle some code to reduce the diff with portable;
no functional change
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mandoc/main.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.bin/mandoc/main.c b/usr.bin/mandoc/main.c index 8336ca374bf..b68f5dd3a0c 100644 --- a/usr.bin/mandoc/main.c +++ b/usr.bin/mandoc/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.110 2014/12/05 21:55:02 schwarze Exp $ */ +/* $OpenBSD: main.c,v 1.111 2014/12/11 19:50:04 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2011, 2012, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -101,18 +101,18 @@ main(int argc, char *argv[]) struct curparse curp; struct mansearch search; struct manpaths paths; - char *conf_file, *defpaths, *auxpaths; + char *auxpaths; char *defos; struct manpage *res, *resp; + char *conf_file, *defpaths; size_t isec, i, sz; - int prio, best_prio; + int prio, best_prio, synopsis_only; char sec; enum mandoclevel rc; enum outmode outmode; int fd; int show_usage; int use_pager; - int synopsis_only; int options; int c; @@ -129,7 +129,8 @@ main(int argc, char *argv[]) /* Search options. */ memset(&paths, 0, sizeof(struct manpaths)); - conf_file = defpaths = auxpaths = NULL; + conf_file = defpaths = NULL; + auxpaths = NULL; memset(&search, 0, sizeof(struct mansearch)); search.outkey = "Nd"; |