summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/libmdoc.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-02-16 02:59:42 +0000
committerschwarze <schwarze@openbsd.org>2017-02-16 02:59:42 +0000
commit012900912b6515ebb360156a4ebb879cb7a3cef5 (patch)
treeeb150e0d85a2bfcb56aee8b685a8a0cd1f8a0aca /usr.bin/mandoc/libmdoc.h
parentclang is installed as cc and c++ there is no need to set CC and CXX to (diff)
downloadwireguard-openbsd-012900912b6515ebb360156a4ebb879cb7a3cef5.tar.xz
wireguard-openbsd-012900912b6515ebb360156a4ebb879cb7a3cef5.zip
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 'usr.bin/mandoc/libmdoc.h')
-rw-r--r--usr.bin/mandoc/libmdoc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/libmdoc.h b/usr.bin/mandoc/libmdoc.h
index 1d75242b59f..ff74ab061d2 100644
--- a/usr.bin/mandoc/libmdoc.h
+++ b/usr.bin/mandoc/libmdoc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: libmdoc.h,v 1.79 2015/11/07 13:57:55 schwarze Exp $ */
+/* $OpenBSD: libmdoc.h,v 1.80 2017/02/16 02:59:42 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -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 *);