diff options
author | 2013-12-30 00:52:18 +0000 | |
---|---|---|
committer | 2013-12-30 00:52:18 +0000 | |
commit | f29433e9c2b328722c7ea4089c1cc53d3f7e9cfe (patch) | |
tree | 9171b5c21b5e3333ed3998170190c7902c0b388f /usr.bin/mandoc/mdoc.c | |
parent | Do not trigger end-of-sentence spacing by trailing punctuation (diff) | |
download | wireguard-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/mdoc.c')
-rw-r--r-- | usr.bin/mandoc/mdoc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc.c b/usr.bin/mandoc/mdoc.c index 6c8ad34b404..40595d95729 100644 --- a/usr.bin/mandoc/mdoc.c +++ b/usr.bin/mandoc/mdoc.c @@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.96 2013/12/24 19:10:34 schwarze Exp $ */ +/* $Id: mdoc.c,v 1.97 2013/12/30 00:52:18 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org> @@ -842,7 +842,7 @@ mdoc_ptext(struct mdoc *mdoc, int line, char *buf, int offs) assert(buf < end); - if (mandoc_eos(buf+offs, (size_t)(end-buf-offs), 0)) + if (mandoc_eos(buf+offs, (size_t)(end-buf-offs))) mdoc->last->flags |= MDOC_EOS; return(1); |