sum2.c (112212) | sum2.c (200420) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 23 unchanged lines hidden (view full) --- 32 */ 33 34#ifndef lint 35#if 0 36static char sccsid[] = "@(#)sum2.c 8.1 (Berkeley) 6/6/93"; 37#endif 38#endif /* not lint */ 39#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 23 unchanged lines hidden (view full) --- 32 */ 33 34#ifndef lint 35#if 0 36static char sccsid[] = "@(#)sum2.c 8.1 (Berkeley) 6/6/93"; 37#endif 38#endif /* not lint */ 39#include <sys/cdefs.h> |
40__FBSDID("$FreeBSD: head/usr.bin/cksum/sum2.c 112212 2003-03-13 23:32:28Z robert $"); | 40__FBSDID("$FreeBSD: head/usr.bin/cksum/sum2.c 200420 2009-12-11 23:35:38Z delphij $"); |
41 42#include <sys/types.h> 43 44#include <unistd.h> | 41 42#include <sys/types.h> 43 44#include <unistd.h> |
45#include <stdint.h> | |
46 47#include "extern.h" 48 49int 50csum2(int fd, uint32_t *cval, off_t *clen) 51{ 52 uint32_t lcrc; 53 int nr; --- 25 unchanged lines hidden --- | 45 46#include "extern.h" 47 48int 49csum2(int fd, uint32_t *cval, off_t *clen) 50{ 51 uint32_t lcrc; 52 int nr; --- 25 unchanged lines hidden --- |