diff options
author | 2015-02-02 04:26:03 +0000 | |
---|---|---|
committer | 2015-02-02 04:26:03 +0000 | |
commit | aaa21267fa57873a74997570443c37d60119fc89 (patch) | |
tree | 81b4f29c5894f877d2bdddb4a793ce554a400e2b /usr.bin/mandoc/libmdoc.h | |
parent | When a full block macro gets closed out by a mismatching (diff) | |
download | wireguard-openbsd-aaa21267fa57873a74997570443c37d60119fc89.tar.xz wireguard-openbsd-aaa21267fa57873a74997570443c37d60119fc89.zip |
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 'usr.bin/mandoc/libmdoc.h')
-rw-r--r-- | usr.bin/mandoc/libmdoc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/libmdoc.h b/usr.bin/mandoc/libmdoc.h index 4fade53e633..d7146765759 100644 --- a/usr.bin/mandoc/libmdoc.h +++ b/usr.bin/mandoc/libmdoc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: libmdoc.h,v 1.67 2014/11/29 03:37:28 schwarze Exp $ */ +/* $OpenBSD: libmdoc.h,v 1.68 2015/02/02 04:26:03 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -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 *); |