summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2013-12-30 00:52:18 +0000
committerschwarze <schwarze@openbsd.org>2013-12-30 00:52:18 +0000
commitf29433e9c2b328722c7ea4089c1cc53d3f7e9cfe (patch)
tree9171b5c21b5e3333ed3998170190c7902c0b388f /usr.bin/mandoc/man.c
parentDo not trigger end-of-sentence spacing by trailing punctuation (diff)
downloadwireguard-openbsd-f29433e9c2b328722c7ea4089c1cc53d3f7e9cfe.tar.xz
wireguard-openbsd-f29433e9c2b328722c7ea4089c1cc53d3f7e9cfe.zip
Simplify: Remove an unused argument from the mandoc_eos() function.
No functional change.
Diffstat (limited to 'usr.bin/mandoc/man.c')
-rw-r--r--usr.bin/mandoc/man.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/man.c b/usr.bin/mandoc/man.c
index f23577d6082..932590223b9 100644
--- a/usr.bin/mandoc/man.c
+++ b/usr.bin/mandoc/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.71 2013/11/10 22:53:58 schwarze Exp $ */
+/* $Id: man.c,v 1.72 2013/12/30 00:52:18 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -475,7 +475,7 @@ man_ptext(struct man *man, int line, char *buf, int offs)
*/
assert(i);
- if (mandoc_eos(buf, (size_t)i, 0))
+ if (mandoc_eos(buf, (size_t)i))
man->last->flags |= MAN_EOS;
return(man_descope(man, line, offs));