summaryrefslogtreecommitdiffstats
path: root/libmdoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-11-28 01:05:43 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-11-28 01:05:43 +0000
commit5bd116b7cf73aba2041700609c3b7745aae1cb3b (patch)
tree61c629ec13a6f649f41fa33a6e96b8f18f88d485 /libmdoc.h
parentd12c35edfd44311ebd716c807ea9f72efa660337 (diff)
downloadmandoc-5bd116b7cf73aba2041700609c3b7745aae1cb3b.tar.gz
Simplify code by making mdoc validation handlers void.
No functional change, minus 90 lines of code.
Diffstat (limited to 'libmdoc.h')
-rw-r--r--libmdoc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmdoc.h b/libmdoc.h
index c7a67705..feef16f2 100644
--- a/libmdoc.h
+++ b/libmdoc.h
@@ -127,8 +127,8 @@ const char *mdoc_a2lib(const char *);
const char *mdoc_a2st(const char *);
const char *mdoc_a2arch(const char *);
const char *mdoc_a2vol(const char *);
-int mdoc_valid_pre(struct mdoc *, struct mdoc_node *);
-int mdoc_valid_post(struct mdoc *);
+void mdoc_valid_pre(struct mdoc *, struct mdoc_node *);
+void mdoc_valid_post(struct mdoc *);
enum margverr mdoc_argv(struct mdoc *, int, enum mdoct,
struct mdoc_arg **, int *, char *);
void mdoc_argv_free(struct mdoc_arg *);