summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/man.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2013-12-30 00:52:19 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2013-12-30 00:52:19 +0000
commit1dd47b7d214ea5025ae29b2663cc1ea1410bc094 (patch)
tree2a09267f2167447ac296d26d2454d7c35e3b2639 /usr.bin/mandoc/man.c
parenta5d2021003c961f2824fc69ec05a5e5f2d6e20e0 (diff)
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));