From 26062711bedfc2a29550c2d705beb1d77d7ee0b3 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 17 May 2010 23:57:06 +0000 Subject: Increase performance by stashing the list type in struct mdoc_node. This will eventually be used so that mdoc_macro can known whether to dump list line arguments into the body (`Bl -column' overflowing). Remove a2list() and arg_listtype() because of this. --- libmdoc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmdoc.h') diff --git a/libmdoc.h b/libmdoc.h index d12240c4..a9c328dc 100644 --- a/libmdoc.h +++ b/libmdoc.h @@ -177,7 +177,7 @@ int mdoc_valid_pre(struct mdoc *, const struct mdoc_node *); int mdoc_valid_post(struct mdoc *); int mdoc_action_pre(struct mdoc *, - const struct mdoc_node *); + struct mdoc_node *); int mdoc_action_post(struct mdoc *); enum margverr mdoc_argv(struct mdoc *, int, enum mdoct, struct mdoc_arg **, int *, char *); -- cgit