git: 2cb2e6691fae - stable/13 - ce,cp: Remove pointless checks for <sys/cdefs.h>
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 May 2022 22:54:47 UTC
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=2cb2e6691fae68fa081bad5624e54b345002b0fa commit 2cb2e6691fae68fa081bad5624e54b345002b0fa Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-12 17:05:34 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-13 20:11:30 +0000 ce,cp: Remove pointless checks for <sys/cdefs.h> Both of these headers check for _SYS_CDEFS_H_ after including <sys/param.h> which itself includes <sys/cdefs.h>. PR: 263102 (exp-run) Reviewed by: brooks, imp, emaste Differential Revision: https://reviews.freebsd.org/D34795 (cherry picked from commit 17554af4e8531f443fce1a58ab6d4b45d82af5f2) --- sys/dev/ce/machdep.h | 4 ---- sys/dev/cp/machdep.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/sys/dev/ce/machdep.h b/sys/dev/ce/machdep.h index 393377d0b406..f715122ae490 100644 --- a/sys/dev/ce/machdep.h +++ b/sys/dev/ce/machdep.h @@ -74,10 +74,6 @@ # include <sys/libkern.h> # include <sys/systm.h> # define port_t int - -#ifndef _SYS_CDEFS_H_ -#error this file needs sys/cdefs.h as a prerequisite -#endif #endif #endif diff --git a/sys/dev/cp/machdep.h b/sys/dev/cp/machdep.h index 393377d0b406..f715122ae490 100644 --- a/sys/dev/cp/machdep.h +++ b/sys/dev/cp/machdep.h @@ -74,10 +74,6 @@ # include <sys/libkern.h> # include <sys/systm.h> # define port_t int - -#ifndef _SYS_CDEFS_H_ -#error this file needs sys/cdefs.h as a prerequisite -#endif #endif #endif