summaryrefslogtreecommitdiffstats
path: root/libman.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-01 21:24:17 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-01 21:24:17 +0000
commit44596b84b2e6592395aecd1061f5e589c417763a (patch)
tree5d37b7fddb2337c8ed100bc5568b9747dfb14e30 /libman.h
parent41b01a2448e5d5de474613c0bf5aff6cfcb30316 (diff)
downloadmandoc-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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libman.h b/libman.h
index 491691df..6759c70d 100644
--- a/libman.h
+++ b/libman.h
@@ -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