diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-18 16:34:25 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-18 16:34:25 +0000 |
commit | 70a9dbd1a5a305812354c332d729472bd2c06561 (patch) | |
tree | 063eba43441d0af27e5bfb6e4db4bd1ce0c4e545 /mandoc.h | |
parent | 90913383a1a42f4ed3816d5206553df9db14e839 (diff) | |
download | mandoc-70a9dbd1a5a305812354c332d729472bd2c06561.tar.gz mandoc-70a9dbd1a5a305812354c332d729472bd2c06561.tar.zst mandoc-70a9dbd1a5a305812354c332d729472bd2c06561.zip |
Profit from the unified struct roff_man and reduce the number of
arguments of mparse_result() by one. No functional change.
Written on the ICE Bruxelles-Koeln on the way back from p2k15.
Diffstat (limited to 'mandoc.h')
-rw-r--r-- | mandoc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.202 2015/04/18 16:06:40 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.203 2015/04/18 16:34:25 schwarze Exp $ */ /* * Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org> @@ -433,7 +433,7 @@ enum mandoclevel mparse_readfd(struct mparse *, int, const char *); enum mandoclevel mparse_readmem(struct mparse *, void *, size_t, const char *); void mparse_reset(struct mparse *); -void mparse_result(struct mparse *, struct roff_man **, +void mparse_result(struct mparse *, struct roff_man **, char **); const char *mparse_getkeep(const struct mparse *); const char *mparse_strerror(enum mandocerr); |