summaryrefslogtreecommitdiffstats
path: root/libmdoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-02-02 04:26:44 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-02-02 04:26:44 +0000
commit5aa5efecc3c1ed935aac943e15689f4388db9bca (patch)
tree67ed1bdab37ed0d25bb60ac1d48a948dcb2b335d /libmdoc.h
parent2a8721309f4f7dbbb5908c122a134490432f4431 (diff)
downloadmandoc-5aa5efecc3c1ed935aac943e15689f4388db9bca.tar.gz
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.
Diffstat (limited to 'libmdoc.h')
-rw-r--r--libmdoc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmdoc.h b/libmdoc.h
index 22dd764c..da9aa615 100644
--- a/libmdoc.h
+++ b/libmdoc.h
@@ -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 *);