summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-01-09 01:37:03 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-01-09 01:37:03 +0000
commit6769f9615389aedbeaaf3a3c3153aec49c88954c (patch)
tree2c7cd176802f9d756266208308bdd826d26a0e86 /mandoc.h
parent84899683ac7364eaba7f2fbd1ff194612d1a7db0 (diff)
downloadmandoc-6769f9615389aedbeaaf3a3c3153aec49c88954c.tar.gz
Warnings and errors that occur during mdoc_validate()
or during man_validate() have to affect the mandoc(1) EXIT STATUS. Many thanks to <Yuri dot Pankov at gmail dot com> (illumos developer) for reporting this regression.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mandoc.h b/mandoc.h
index 623d3b61..5b75e882 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -435,3 +435,4 @@ void mparse_result(struct mparse *,
const char *mparse_getkeep(const struct mparse *);
const char *mparse_strerror(enum mandocerr);
const char *mparse_strlevel(enum mandoclevel);
+void mparse_updaterc(struct mparse *, enum mandoclevel *);