diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-05-17 11:34:31 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-05-17 11:34:31 +0000 |
commit | 76be1e51fc96ec5836c6a7b70dbb91beed5c8635 (patch) | |
tree | 2fa3de7c4fe0874950404ef2adc07eef2cc943e5 /html.h | |
parent | f9e49942b1aa36eb1b9fca3803993ef3224d5f5b (diff) | |
download | mandoc-76be1e51fc96ec5836c6a7b70dbb91beed5c8635.tar.gz |
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.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |