From ed7b34daec8f64113849ed8b3d816f617cdf3983 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 17 May 2011 11:34:31 +0000 Subject: 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. --- html.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'html.h') 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 * @@ -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 -- cgit v1.2.3