aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit9478246fdbadd15d72ff995eadbe78fe9ca4bbb0 (patch)
treed352a1f893f6afc63536d98b7bc4595eeef2c0f5 /libman.h
parentbf5632c30654b3560633b58019d13b37260ca137 (diff)
downloadmandoc-9478246fdbadd15d72ff995eadbe78fe9ca4bbb0.tar.gz
mandoc-9478246fdbadd15d72ff995eadbe78fe9ca4bbb0.tar.zst
mandoc-9478246fdbadd15d72ff995eadbe78fe9ca4bbb0.zip
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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libman.h b/libman.h
index 61bd1a64..e852927c 100644
--- a/libman.h
+++ b/libman.h
@@ -1,4 +1,4 @@
-/* $Id: libman.h,v 1.62 2014/08/01 17:40:34 schwarze Exp $ */
+/* $Id: libman.h,v 1.63 2014/08/01 21:24:17 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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