Deleted Added
full compact
sum1.c (200420) sum1.c (200462)
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

--- 24 unchanged lines hidden (view full) ---

33
34#ifndef lint
35#if 0
36static char sccsid[] = "@(#)sum1.c 8.1 (Berkeley) 6/6/93";
37#endif
38#endif /* not lint */
39
40#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

--- 24 unchanged lines hidden (view full) ---

33
34#ifndef lint
35#if 0
36static char sccsid[] = "@(#)sum1.c 8.1 (Berkeley) 6/6/93";
37#endif
38#endif /* not lint */
39
40#include <sys/cdefs.h>
41__FBSDID("$FreeBSD: head/usr.bin/cksum/sum1.c 200420 2009-12-11 23:35:38Z delphij $");
41__FBSDID("$FreeBSD: head/usr.bin/cksum/sum1.c 200462 2009-12-13 03:14:06Z delphij $");
42
43#include <sys/types.h>
44
45#include <unistd.h>
42
43#include <sys/types.h>
44
45#include <unistd.h>
46#include <stdint.h>
46
47#include "extern.h"
48
49int
50csum1(int fd, uint32_t *cval, off_t *clen)
51{
52 int nr;
53 u_int lcrc;

--- 22 unchanged lines hidden ---
47
48#include "extern.h"
49
50int
51csum1(int fd, uint32_t *cval, off_t *clen)
52{
53 int nr;
54 u_int lcrc;

--- 22 unchanged lines hidden ---