x86: Remove silly checks for <sys/cdefs.h>.

These headers #include <sys/cdefs.h> right after checking if it has
already been #included.  The nested #include already existed when the
check for _SYS_CDEFS_H_ was added, so the check shouldn't have been
added in the first place.

PR:		263102 (exp-run)
Reported by:	brooks
Reviewed by:	brooks, imp, emaste
Differential Revision:	https://reviews.freebsd.org/D34796
This commit is contained in:
John Baldwin 2022-04-12 10:05:39 -07:00
parent 17554af4e8
commit 1c1bf5bd7c
2 changed files with 0 additions and 8 deletions

View File

@ -37,10 +37,6 @@
#ifndef _MACHINE_IN_CKSUM_H_
#define _MACHINE_IN_CKSUM_H_ 1
#ifndef _SYS_CDEFS_H_
#error this file needs sys/cdefs.h as a prerequisite
#endif
#include <sys/cdefs.h>
#define in_cksum(m, len) in_cksum_skip(m, len, 0)

View File

@ -37,10 +37,6 @@
#ifndef _MACHINE_IN_CKSUM_H_
#define _MACHINE_IN_CKSUM_H_ 1
#ifndef _SYS_CDEFS_H_
#error this file needs sys/cdefs.h as a prerequisite
#endif
#include <sys/cdefs.h>
#define in_cksum(m, len) in_cksum_skip(m, len, 0)