diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-28 01:05:43 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-28 01:05:43 +0000 |
commit | 5bd116b7cf73aba2041700609c3b7745aae1cb3b (patch) | |
tree | 61c629ec13a6f649f41fa33a6e96b8f18f88d485 /libmdoc.h | |
parent | d12c35edfd44311ebd716c807ea9f72efa660337 (diff) | |
download | mandoc-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 *); |