diff options
-rw-r--r-- | usr.bin/cmp/misc.c | 9 | ||||
-rw-r--r-- | usr.bin/cmp/regular.c | 8 | ||||
-rw-r--r-- | usr.bin/cmp/special.c | 7 |
3 files changed, 8 insertions, 16 deletions
diff --git a/usr.bin/cmp/misc.c b/usr.bin/cmp/misc.c index c9a4cb56b55..b04ee6a3273 100644 --- a/usr.bin/cmp/misc.c +++ b/usr.bin/cmp/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.5 2009/10/27 23:59:36 deraadt Exp $ */ +/* $OpenBSD: misc.c,v 1.6 2011/01/19 13:01:25 okan Exp $ */ /* $NetBSD: misc.c,v 1.2 1995/09/08 03:22:58 tls Exp $ */ /*- @@ -39,8 +39,7 @@ #include "extern.h" void -eofmsg(file) - char *file; +eofmsg(char *file) { if (!sflag) warnx("EOF on %s", file); @@ -48,9 +47,7 @@ eofmsg(file) } void -diffmsg(file1, file2, byte, line) - char *file1, *file2; - off_t byte, line; +diffmsg(char *file1, char *file2, off_t byte, off_t line) { if (!sflag) (void)printf("%s %s differ: char %lld, line %lld\n", diff --git a/usr.bin/cmp/regular.c b/usr.bin/cmp/regular.c index fdcca69a5e4..95ebc1bbbe0 100644 --- a/usr.bin/cmp/regular.c +++ b/usr.bin/cmp/regular.c @@ -1,4 +1,4 @@ -/* $OpenBSD: regular.c,v 1.9 2009/10/27 23:59:36 deraadt Exp $ */ +/* $OpenBSD: regular.c,v 1.10 2011/01/19 13:01:25 okan Exp $ */ /* $NetBSD: regular.c,v 1.2 1995/09/08 03:22:59 tls Exp $ */ /*- @@ -43,10 +43,8 @@ #include "extern.h" void -c_regular(fd1, file1, skip1, len1, fd2, file2, skip2, len2) - int fd1, fd2; - char *file1, *file2; - off_t skip1, len1, skip2, len2; +c_regular(int fd1, char *file1, off_t skip1, off_t len1, + int fd2, char *file2, off_t skip2, off_t len2) { u_char ch, *p1, *p2; off_t byte, length, line; diff --git a/usr.bin/cmp/special.c b/usr.bin/cmp/special.c index 0fcc85031cb..c7b747598fd 100644 --- a/usr.bin/cmp/special.c +++ b/usr.bin/cmp/special.c @@ -1,4 +1,4 @@ -/* $OpenBSD: special.c,v 1.6 2009/10/27 23:59:36 deraadt Exp $ */ +/* $OpenBSD: special.c,v 1.7 2011/01/19 13:01:25 okan Exp $ */ /* $NetBSD: special.c,v 1.2 1995/09/08 03:23:00 tls Exp $ */ /*- @@ -40,10 +40,7 @@ #include "extern.h" void -c_special(fd1, file1, skip1, fd2, file2, skip2) - int fd1, fd2; - char *file1, *file2; - off_t skip1, skip2; +c_special(int fd1, char *file1, off_t skip1, int fd2, char *file2, off_t skip2) { int ch1, ch2; off_t byte, line; |