=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tcopy/Attic/tcopy.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- src/usr.bin/tcopy/Attic/tcopy.c 2003/06/03 02:56:17 1.8 +++ src/usr.bin/tcopy/Attic/tcopy.c 2003/06/10 22:20:53 1.9 @@ -1,4 +1,4 @@ -/* $OpenBSD: tcopy.c,v 1.8 2003/06/03 02:56:17 millert Exp $ */ +/* $OpenBSD: tcopy.c,v 1.9 2003/06/10 22:20:53 deraadt Exp $ */ /* $NetBSD: tcopy.c,v 1.5 1997/04/15 07:23:08 lukem Exp $ */ /* @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)tcopy.c 8.3 (Berkeley) 1/23/95"; #endif -static char rcsid[] = "$OpenBSD: tcopy.c,v 1.8 2003/06/03 02:56:17 millert Exp $"; +static char rcsid[] = "$OpenBSD: tcopy.c,v 1.9 2003/06/10 22:20:53 deraadt Exp $"; #endif /* not lint */ #include @@ -73,9 +73,7 @@ void writeop(int, int); int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { int ch, needeof, nw, inp, outp; ssize_t lastnread, nread; @@ -230,9 +228,7 @@ } void -verify(inp, outp, outb) - int inp, outp; - char *outb; +verify(int inp, int outp, char *outb) { int eot, inmaxblk, inn, outmaxblk, outn; char *inb; @@ -286,8 +282,7 @@ } void -intr(signo) - int signo; +intr(int signo) { if (record) { if (record - lastrec > 1) @@ -301,8 +296,7 @@ } void * -getspace(blk) - int blk; +getspace(int blk) { void *bp; @@ -313,8 +307,7 @@ } void -writeop(fd, type) - int fd, type; +writeop(int fd, int type) { struct mtop op; @@ -325,7 +318,7 @@ } void -usage() +usage(void) { fprintf(stderr, "usage: tcopy [-cvx] [-s maxblk] src [dest]\n");