summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-03-19 22:20:43 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-03-19 22:20:43 +0000
commit007dd8781c55fce01e2e54e6386731c355ad463d (patch)
tree744a417db38add0952cd00dc0691ba84dac03f0b /mandoc.h
parentcd337f65ece6ac4cd6eb91fcbd5a7a970956eb3f (diff)
downloadmandoc-007dd8781c55fce01e2e54e6386731c355ad463d.tar.gz
Without the MPARSE_SO option, if the file contains nothing but a
single .so request, do not read the file pointed to, but instead let mparse_result() provide the file name pointed to as a return value. To be used by makewhatis(8) in the future.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index 268ed343..02070c5c 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -427,7 +427,7 @@ enum mandoclevel mparse_readmem(struct mparse *, const void *, size_t,
const char *);
void mparse_reset(struct mparse *);
void mparse_result(struct mparse *,
- struct mdoc **, struct man **);
+ struct mdoc **, struct man **, char **);
const char *mparse_getkeep(const struct mparse *);
const char *mparse_strerror(enum mandocerr);
const char *mparse_strlevel(enum mandoclevel);