diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-01 21:24:17 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-01 21:24:17 +0000 |
commit | 44596b84b2e6592395aecd1061f5e589c417763a (patch) | |
tree | 5d37b7fddb2337c8ed100bc5568b9747dfb14e30 /libman.h | |
parent | 41b01a2448e5d5de474613c0bf5aff6cfcb30316 (diff) | |
download | mandoc-44596b84b2e6592395aecd1061f5e589c417763a.tar.gz |
Simplify man(7) validation:
Drop pre-handlers, they were almost unused.
Drop the needless complexity of allowing more than one post-handler.
This saves one internal interface function, one static function, one
private struct definition, sixteen static arrays, and 45 lines of code.
No functional change.
Diffstat (limited to 'libman.h')
-rw-r--r-- | libman.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -70,7 +70,6 @@ void man_hash_init(void); enum mant man_hash_find(const char *); int man_macroend(struct man *); int man_valid_post(struct man *); -int man_valid_pre(struct man *, struct man_node *); int man_unscope(struct man *, const struct man_node *); __END_DECLS |