From bcb81701c49bee8a728b9a14ac9b6675854a7f25 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Thu, 16 Feb 2017 08:45:33 +0200 Subject: [PATCH] 8296 tcopy: misleading-indentation Reviewed by: Robert Mustacchi Reviewed by: Igor Kozhukhov Reviewed by: Gordon Ross Reviewed by: Yuri Pankov Approved by: Hans Rosenfeld --- usr/src/cmd/tcopy/tcopy.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/usr/src/cmd/tcopy/tcopy.c b/usr/src/cmd/tcopy/tcopy.c index 6fa3e50f3e..5dbf401cfd 100644 --- a/usr/src/cmd/tcopy/tcopy.c +++ b/usr/src/cmd/tcopy/tcopy.c @@ -37,8 +37,6 @@ * contributors. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include #include #include @@ -63,8 +61,7 @@ size_t size_256K = 256 * 1024; int -main(argc, argv) -char **argv; +main(int argc, char **argv) { int n, nw, inp, outp; struct mtop op; @@ -157,8 +154,8 @@ char **argv; else (void) printf("file %d: record %ld:" " size %d\n", filen, lcount, ln); - (void) printf("file %d: eof after %ld records:" - " %lld bytes\n", filen, count-1, size); + (void) printf("file %d: eof after %ld records:" + " %lld bytes\n", filen, count-1, size); if (copy) { op.mt_op = MTWEOF; op.mt_count = (daddr_t)1; @@ -184,7 +181,7 @@ char **argv; } void -RUBOUT() +RUBOUT(void) { if (count > lcount) --count; -- 2.11.4.GIT