diff options
| author | Toomas Soome <tsoome@me.com> | 2017-02-16 08:45:33 +0200 |
|---|---|---|
| committer | Hans Rosenfeld <hans.rosenfeld@joyent.com> | 2017-06-12 12:55:06 +0200 |
| commit | bcb81701c49bee8a728b9a14ac9b6675854a7f25 (patch) | |
| tree | 9490336a9432968faae074b09a99b0488e78b4f7 /usr/src/cmd/tcopy | |
| parent | 4c004ea84c324520a1bac324e9f69d22ab4c5cd9 (diff) | |
| download | illumos-joyent-bcb81701c49bee8a728b9a14ac9b6675854a7f25.tar.gz | |
8296 tcopy: misleading-indentation
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Reviewed by: Yuri Pankov <yuripv@gmx.com>
Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Diffstat (limited to 'usr/src/cmd/tcopy')
| -rw-r--r-- | usr/src/cmd/tcopy/tcopy.c | 11 |
1 files 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 <stdio.h> #include <signal.h> #include <sys/types.h> @@ -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; |
