mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 05:51:11 +01:00
machine/in_cksum.h: don't include sys/cdefs.h
All consumers already do it and it was required on amd64 and i386
until recently (1c1bf5bd7c
).
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D34932
This commit is contained in:
parent
666554111a
commit
c2f6aae007
@ -37,8 +37,6 @@
|
||||
#ifndef _MACHINE_IN_CKSUM_H_
|
||||
#define _MACHINE_IN_CKSUM_H_ 1
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#define in_cksum(m, len) in_cksum_skip(m, len, 0)
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
@ -37,8 +37,6 @@
|
||||
#ifndef _MACHINE_IN_CKSUM_H_
|
||||
#define _MACHINE_IN_CKSUM_H_ 1
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
#define HAVE_MD_IN_CKSUM
|
||||
|
@ -35,8 +35,6 @@
|
||||
#ifndef _MACHINE_IN_CKSUM_H_
|
||||
#define _MACHINE_IN_CKSUM_H_ 1
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#ifdef _KERNEL
|
||||
#define in_cksum(m, len) in_cksum_skip(m, len, 0)
|
||||
u_short in_addword(u_short sum, u_short b);
|
||||
|
@ -37,8 +37,6 @@
|
||||
#ifndef _MACHINE_IN_CKSUM_H_
|
||||
#define _MACHINE_IN_CKSUM_H_ 1
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#define in_cksum(m, len) in_cksum_skip(m, len, 0)
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
@ -35,8 +35,6 @@
|
||||
#ifndef _MACHINE_IN_CKSUM_H_
|
||||
#define _MACHINE_IN_CKSUM_H_ 1
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#ifdef _KERNEL
|
||||
#define in_cksum(m, len) in_cksum_skip(m, len, 0)
|
||||
u_short in_addword(u_short sum, u_short b);
|
||||
|
Loading…
Reference in New Issue
Block a user