summaryrefslogtreecommitdiffstats
path: root/usr.bin/pr
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
commita14d555c873398b14776ca4f2c33f9c69617afb9 (patch)
tree350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/pr
parentf3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff)
downloadFreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip
FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/pr')
-rw-r--r--usr.bin/pr/pr.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/pr/pr.c b/usr.bin/pr/pr.c
index bbc7e9b..2d0eb45 100644
--- a/usr.bin/pr/pr.c
+++ b/usr.bin/pr/pr.c
@@ -429,7 +429,7 @@ vertcol(argc, argv)
if (!i) {
ptbf = buf + indy[j];
lstdat[j] = ptbf;
- } else
+ } else
ptbf = lstdat[j];
vc[cvc].pt = ptbf;
@@ -958,7 +958,7 @@ mulfile(argc, argv)
* buf: buffer
* lim: buffer length
* cps: column positon 1st char in buffer (large line support)
- * trnc: throw away data more than lim up to \n
+ * trnc: throw away data more than lim up to \n
* mor: set if more data in line (not truncated)
*/
int
@@ -1069,7 +1069,7 @@ inln(inf, buf, lim, cps, trnc, mor)
* cnt: number of chars of valid data in buf
* svips: buffer input column position (for large lines)
* svops: buffer output column position (for large lines)
- * mor: output line not complete in this buf; more data to come.
+ * mor: output line not complete in this buf; more data to come.
* 1 is more, 0 is complete, -1 is no \n's
*/
int
@@ -1341,7 +1341,7 @@ nxtfile(argc, argv, fname, buf, dt)
if (fstat(fileno(inf), &statbuf) < 0) {
++errcnt;
(void)fclose(inf);
- (void)fprintf(err,
+ (void)fprintf(err,
"pr: Cannot stat %s, %s\n",
argv[eoptind], strerror(errno));
return(NULL);
@@ -1483,13 +1483,13 @@ prtail(cnt, incomp)
* pad page
*/
if (formfeed) {
- if ((incomp && (putchar('\n') == EOF)) ||
+ if ((incomp && (putchar('\n') == EOF)) ||
(putchar('\f') == EOF)) {
pfail();
return(1);
}
return(0);
- }
+ }
cnt += TAILLEN;
while (--cnt >= 0) {
if (putchar('\n') == EOF) {
@@ -1554,7 +1554,7 @@ usage()
}
/*
- * setup: Validate command args, initialize and perform sanity
+ * setup: Validate command args, initialize and perform sanity
* checks on options
*/
int
@@ -1781,7 +1781,7 @@ setup(argc, argv)
* make sure long enough for headers. if not disable
*/
if (lines <= HEADLEN + TAILLEN)
- ++nohead;
+ ++nohead;
else if (!nohead)
lines -= HEADLEN + TAILLEN;
OpenPOWER on IntegriCloud