summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/html.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-12-01 08:05:03 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-12-01 08:05:03 +0000
commitac86e73e9650b4db811737e770a15bc7cf4be406 (patch)
tree58cb1d3af437f2670bcdfae102c356416ad83782 /usr.bin/mandoc/html.h
parentcaade4c1f10e3d0c5156f58840496c3c654d7db6 (diff)
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,