From df6217cca9ea17208578020a4733d898208dca31 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 1 Nov 2014 06:03:13 +0000 Subject: 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. --- read.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'read.c') diff --git a/read.c b/read.c index 78e054d3..db7933af 100644 --- a/read.c +++ b/read.c @@ -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: -- cgit