summaryrefslogtreecommitdiffstats
path: root/libmdoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-16 03:00:23 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-16 03:00:23 +0000
commitb36c2e4756f2b576b474a61019f15645f0cf8388 (patch)
tree17b05ac82abed673c1f86d4f9115be0ca4d06a85 /libmdoc.h
parentc5b0120ca117dc54fa423077e5640fc89c76e334 (diff)
downloadmandoc-b36c2e4756f2b576b474a61019f15645f0cf8388.tar.gz
Remove the ENDBODY_NOSPACE flag, simplifying the code.
Comparing to groff output, it appears that all cases where it was used and made a difference actually require the opposite, ENDBODY_SPACE. I have no idea why i added it back in 2010; maybe to compensate for some other bug that has long been fixed.
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 1d5b0780..d0403155 100644
--- a/libmdoc.h
+++ b/libmdoc.h
@@ -70,7 +70,7 @@ struct roff_node *mdoc_block_alloc(struct roff_man *, int, int,
int, struct mdoc_arg *);
void mdoc_tail_alloc(struct roff_man *, int, int, int);
struct roff_node *mdoc_endbody_alloc(struct roff_man *, int, int, int,
- struct roff_node *, enum mdoc_endbody);
+ struct roff_node *);
void mdoc_node_relink(struct roff_man *, struct roff_node *);
void mdoc_node_validate(struct roff_man *);
void mdoc_state(struct roff_man *, struct roff_node *);