lint
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Thu, 28 Nov 1991 04:45:06 +0000 (20:45 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Thu, 28 Nov 1991 04:45:06 +0000 (20:45 -0800)
SCCS-vsn: usr.bin/cksum/sum1.c 5.2
SCCS-vsn: usr.bin/cksum/sum2.c 5.2
SCCS-vsn: usr.bin/cksum/cksum.c 5.5

usr/src/usr.bin/cksum/cksum.c
usr/src/usr.bin/cksum/sum1.c
usr/src/usr.bin/cksum/sum2.c

index 8abcb44..0c1388b 100644 (file)
@@ -15,7 +15,7 @@ char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)cksum.c    5.4 (Berkeley) %G%";
+static char sccsid[] = "@(#)cksum.c    5.5 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/cdefs.h>
 #endif /* not lint */
 
 #include <sys/cdefs.h>
@@ -28,6 +28,9 @@ static char sccsid[] = "@(#)cksum.c   5.4 (Berkeley) %G%";
 #include <string.h>
 #include "extern.h"
 
 #include <string.h>
 #include "extern.h"
 
+void usage __P((void));
+
+int
 main(argc, argv)
        int argc;
        char **argv;
 main(argc, argv)
        int argc;
        char **argv;
@@ -87,6 +90,7 @@ main(argc, argv)
        exit(rval);
 }
 
        exit(rval);
 }
 
+void
 usage()
 {
        (void)fprintf(stderr, "usage: cksum [-o 1 | 2] [file ...]\n");
 usage()
 {
        (void)fprintf(stderr, "usage: cksum [-o 1 | 2] [file ...]\n");
index 51f4a22..583c226 100644 (file)
@@ -6,12 +6,13 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)sum1.c     5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)sum1.c     5.2 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/types.h>
 #include <unistd.h>
 
 #endif /* not lint */
 
 #include <sys/types.h>
 #include <unistd.h>
 
+int
 csum1(fd, cval, clen)
        register int fd;
        u_long *cval, *clen;
 csum1(fd, cval, clen)
        register int fd;
        u_long *cval, *clen;
index 0c69151..4212d2e 100644 (file)
@@ -6,12 +6,13 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)sum2.c     5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)sum2.c     5.2 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/types.h>
 #include <unistd.h>
 
 #endif /* not lint */
 
 #include <sys/types.h>
 #include <unistd.h>
 
+int
 csum2(fd, cval, clen)
        register int fd;
        u_long *cval, *clen;
 csum2(fd, cval, clen)
        register int fd;
        u_long *cval, *clen;