aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-05-17 11:34:31 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-05-17 11:34:31 +0000
commited7b34daec8f64113849ed8b3d816f617cdf3983 (patch)
tree3b378d6fd5062d61cf9ce4e13cd7d6fc4b4eada1 /html.h
parent200e43749bd89f28c28647ce1c2736de721d6de8 (diff)
downloadmandoc-ed7b34daec8f64113849ed8b3d816f617cdf3983.tar.gz
mandoc-ed7b34daec8f64113849ed8b3d816f617cdf3983.tar.zst
mandoc-ed7b34daec8f64113849ed8b3d816f617cdf3983.zip
Cleanups in -T[x]html: make html_idcat() use the buffer and be called
bufcat_id(), then collapse it into a little function without so much crap. Next, make bufinit() only be called when we really need to do so, and not simply before pre/post calls.
Diffstat (limited to 'html.h')
-rw-r--r--html.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/html.h b/html.h
index 2fc63316..aba635f1 100644
--- a/html.h
+++ b/html.h
@@ -1,4 +1,4 @@
-/* $Id: html.h,v 1.43 2011/05/17 11:19:45 kristaps Exp $ */
+/* $Id: html.h,v 1.44 2011/05/17 11:34:31 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -142,18 +142,18 @@ void print_text(struct html *, const char *);
void print_tblclose(struct html *);
void print_tbl(struct html *, const struct tbl_span *);
-void bufcat_su(struct html *, const char *,
- const struct roffsu *);
-void buffmt_man(struct html *,
- const char *, const char *);
-void buffmt_includes(struct html *, const char *);
void bufcat_fmt(struct html *, const char *, ...);
void bufcat(struct html *, const char *);
+void bufcat_id(struct html *, const char *);
void bufcat_style(struct html *,
const char *, const char *);
+void bufcat_su(struct html *, const char *,
+ const struct roffsu *);
void bufinit(struct html *);
+void buffmt_man(struct html *,
+ const char *, const char *);
+void buffmt_includes(struct html *, const char *);
-void html_idcat(char *, const char *, int);
int html_strlen(const char *);
__END_DECLS