cksum.c (7a19d1bbb9f8fe580d509ad1caf8343e876fa045) | cksum.c (3fa15ce5d8c2bff56d3e11f1a47e264ae30514d3) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * James W. Williams of NASA Goddard Space Flight Center. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 52 unchanged lines hidden (view full) --- 61 62static void usage __P((void)); 63 64int 65main(argc, argv) 66 int argc; 67 char **argv; 68{ | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * James W. Williams of NASA Goddard Space Flight Center. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 52 unchanged lines hidden (view full) --- 61 62static void usage __P((void)); 63 64int 65main(argc, argv) 66 int argc; 67 char **argv; 68{ |
69 register int ch, fd, rval; | 69 int ch, fd, rval; |
70 u_int32_t len, val; 71 char *fn, *p; 72 int (*cfncn) __P((int, u_int32_t *, u_int32_t *)); 73 void (*pfncn) __P((char *, u_int32_t, u_int32_t)); 74 75 if ((p = rindex(argv[0], '/')) == NULL) 76 p = argv[0]; 77 else --- 63 unchanged lines hidden --- | 70 u_int32_t len, val; 71 char *fn, *p; 72 int (*cfncn) __P((int, u_int32_t *, u_int32_t *)); 73 void (*pfncn) __P((char *, u_int32_t, u_int32_t)); 74 75 if ((p = rindex(argv[0], '/')) == NULL) 76 p = argv[0]; 77 else --- 63 unchanged lines hidden --- |