extern.h (4933ffaed9927902d8e810b6989996c0e1221321) extern.h (3fa15ce5d8c2bff56d3e11f1a47e264ae30514d3)
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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)extern.h 8.1 (Berkeley) 6/6/93
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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)extern.h 8.1 (Berkeley) 6/6/93
34 * $FreeBSD$
34 */
35
36#include <sys/cdefs.h>
37
38__BEGIN_DECLS
39int crc __P((int, u_int32_t *, u_int32_t *));
40void pcrc __P((char *, u_int32_t, u_int32_t));
41void psum1 __P((char *, u_int32_t, u_int32_t));
42void psum2 __P((char *, u_int32_t, u_int32_t));
43int csum1 __P((int, u_int32_t *, u_int32_t *));
44int csum2 __P((int, u_int32_t *, u_int32_t *));
45int crc32 __P((int, u_int32_t *, u_int32_t *));
46__END_DECLS
35 */
36
37#include <sys/cdefs.h>
38
39__BEGIN_DECLS
40int crc __P((int, u_int32_t *, u_int32_t *));
41void pcrc __P((char *, u_int32_t, u_int32_t));
42void psum1 __P((char *, u_int32_t, u_int32_t));
43void psum2 __P((char *, u_int32_t, u_int32_t));
44int csum1 __P((int, u_int32_t *, u_int32_t *));
45int csum2 __P((int, u_int32_t *, u_int32_t *));
46int crc32 __P((int, u_int32_t *, u_int32_t *));
47__END_DECLS