diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-02 04:26:44 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-02 04:26:44 +0000 |
commit | 5aa5efecc3c1ed935aac943e15689f4388db9bca (patch) | |
tree | 67ed1bdab37ed0d25bb60ac1d48a948dcb2b335d /libmdoc.h | |
parent | 2a8721309f4f7dbbb5908c122a134490432f4431 (diff) | |
download | mandoc-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 *); |