summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/html.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-12-01 08:05:02 +0000
committerschwarze <schwarze@openbsd.org>2014-12-01 08:05:02 +0000
commitdd617d7660ceb41dbbd1a712806a45288e52a2cc (patch)
treeb9dd3c502f6aff80855b53ddb3cce745b1a700f9 /usr.bin/mandoc/html.h
parentclist's chained, and could get fairly long which is why there was a (diff)
downloadwireguard-openbsd-dd617d7660ceb41dbbd1a712806a45288e52a2cc.tar.xz
wireguard-openbsd-dd617d7660ceb41dbbd1a712806a45288e52a2cc.zip
header cleanup:
* add missing forward declarations * remove needless header inclusions * some style unification
Diffstat (limited to 'usr.bin/mandoc/html.h')
-rw-r--r--usr.bin/mandoc/html.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/mandoc/html.h b/usr.bin/mandoc/html.h
index 092e05cc31c..90a9da18de3 100644
--- a/usr.bin/mandoc/html.h
+++ b/usr.bin/mandoc/html.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: html.h,v 1.30 2014/11/27 14:31:29 deraadt Exp $ */
+/* $OpenBSD: html.h,v 1.31 2014/12/01 08:05:02 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -15,8 +15,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-__BEGIN_DECLS
-
enum htmltag {
TAG_HTML,
TAG_HEAD,
@@ -144,6 +142,11 @@ struct html {
#define HTML_FRAGMENT (1 << 0) /* don't emit HTML/HEAD/BODY */
};
+__BEGIN_DECLS
+
+struct tbl_span;
+struct eqn;
+
void print_gen_decls(struct html *);
void print_gen_head(struct html *);
struct tag *print_otag(struct html *, enum htmltag,