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:
Brooks Davis 2022-04-18 21:02:19 +01:00
parent 666554111a
commit c2f6aae007
5 changed files with 0 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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);

View File

@ -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

View File

@ -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);