diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-01 06:03:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-01 06:03:13 +0000 |
commit | df6217cca9ea17208578020a4733d898208dca31 (patch) | |
tree | 96be6436b019571652dc459263b51cd2349a0f05 /read.c | |
parent | e8ad8f372f71b24bdc4359cc0dd0d62b9fad70e7 (diff) | |
download | mandoc-df6217cca9ea17208578020a4733d898208dca31.tar.gz |
Use struct buf in libroff, it is very natural there
and reduces the number of arguments of many functions.
While here, sprinkle some KNF.
No functional change.
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -493,8 +493,7 @@ mparse_buf_r(struct mparse *curp, struct buf blk, size_t i, int start) [curp->secondary->sz] = '\0'; } rerun: - rr = roff_parseln(curp->roff, curp->line, - &ln.buf, &ln.sz, of, &of); + rr = roff_parseln(curp->roff, curp->line, &ln, &of); switch (rr) { case ROFF_REPARSE: |