From 3ced8e028be794d28ae0b1669df2f109ff011bf0 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 2 Feb 2015 04:26:44 +0000 Subject: Get rid of all calls to rew_sub() in blk_exp_close(); only ten calls remain in other functions. As a bonus, this fixes an assertion failure jsg@ found some time ago with afl (test case 982) and improves minor details in error reporting. --- libmdoc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmdoc.h') diff --git a/libmdoc.h b/libmdoc.h index b245213a..527fe027 100644 --- a/libmdoc.h +++ b/libmdoc.h @@ -1,4 +1,4 @@ -/* $Id: libmdoc.h,v 1.96 2014/12/01 04:05:32 schwarze Exp $ */ +/* $Id: libmdoc.h,v 1.97 2015/02/02 04:26:44 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2013, 2014 Ingo Schwarze @@ -106,7 +106,7 @@ struct mdoc_node *mdoc_block_alloc(struct mdoc *, int, int, struct mdoc_node *mdoc_head_alloc(struct mdoc *, int, int, enum mdoct); void mdoc_tail_alloc(struct mdoc *, int, int, enum mdoct); struct mdoc_node *mdoc_body_alloc(struct mdoc *, int, int, enum mdoct); -void mdoc_endbody_alloc(struct mdoc *, int, int, enum mdoct, +struct mdoc_node *mdoc_endbody_alloc(struct mdoc *, int, int, enum mdoct, struct mdoc_node *, enum mdoc_endbody); void mdoc_node_delete(struct mdoc *, struct mdoc_node *); void mdoc_node_relink(struct mdoc *, struct mdoc_node *); -- cgit v1.2.3-56-ge451