diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-05-17 11:19:45 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-05-17 11:19:45 +0000 |
commit | f9e49942b1aa36eb1b9fca3803993ef3224d5f5b (patch) | |
tree | f49d32e342a41346b197e73c348d23388d4c97ef /html.h | |
parent | c012d60127e5e58e484aa5e2dc50ccc7745cf32b (diff) | |
download | mandoc-f9e49942b1aa36eb1b9fca3803993ef3224d5f5b.tar.gz |
Clean-ups in -T[x]html: inline print_num(), as it was just a single
conditional; same for print_xmltype() and print_doctype(), same reason;
make bufncat() be static, as it was only being called from html.c;
have bufcat() simply call through to strlcat(). Finally, assert()
whenever we truncate.
Also rename buffmt() -> bufcat_fmt() to differentiate from buffmt_man et
al., which do not concatenate.
Diffstat (limited to 'html.h')
-rw-r--r-- | html.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -147,11 +147,10 @@ void bufcat_su(struct html *, const char *, void buffmt_man(struct html *, const char *, const char *); void buffmt_includes(struct html *, const char *); -void buffmt(struct html *, const char *, ...); +void bufcat_fmt(struct html *, const char *, ...); void bufcat(struct html *, const char *); void bufcat_style(struct html *, const char *, const char *); -void bufncat(struct html *, const char *, size_t); void bufinit(struct html *); void html_idcat(char *, const char *, int); |