[BACK]Return to sum1.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cksum

Diff for /src/usr.bin/cksum/Attic/sum1.c between version 1.1 and 1.2

version 1.1, 1995/10/18 08:45:00 version 1.2, 1996/03/27 19:32:22
Line 1 
Line 1 
 /*      $NetBSD: sum1.c,v 1.4 1995/03/26 05:15:23 glass Exp $   */  /*      $OpenBSD$       */
   /*      $NetBSD: sum1.c,v 1.5 1996/02/27 21:17:27 cgd Exp $     */
   
 /*-  /*-
  * Copyright (c) 1991, 1993   * Copyright (c) 1991, 1993
Line 36 
Line 37 
 #ifndef lint  #ifndef lint
 #if 0  #if 0
 static char sccsid[] = "@(#)sum1.c      8.1 (Berkeley) 6/6/93";  static char sccsid[] = "@(#)sum1.c      8.1 (Berkeley) 6/6/93";
   static char rcsid[] = "$NetBSD: sum1.c,v 1.5 1996/02/27 21:17:27 cgd Exp $";
 #else  #else
 static char rcsid[] = "$NetBSD: sum1.c,v 1.4 1995/03/26 05:15:23 glass Exp $";  static char rcsid[] = "$OpenBSD$";
 #endif  #endif
 #endif /* not lint */  #endif /* not lint */
   
 #include <sys/types.h>  #include <sys/types.h>
 #include <unistd.h>  #include <unistd.h>
   
   #include "extern.h"
   
 int  int
 csum1(fd, cval, clen)  csum1(fd, cval, clen)
         register int fd;          register int fd;
         u_long *cval, *clen;          u_int32_t *cval, *clen;
 {  {
         register u_long total;          register u_int32_t total;
         register int nr;          register int nr;
         register u_int crc;          register u_int crc;
         register u_char *p;          register u_char *p;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2