git: 3460fab5fced - main - linux(4): Remove sys/cdefs.h inclusion where it's not needed due to 685dc743
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Aug 2023 10:12:21 UTC
The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=3460fab5fced39c7ea597cc7de0ebc3e4c88989a commit 3460fab5fced39c7ea597cc7de0ebc3e4c88989a Author: Dmitry Chagin <dchagin@FreeBSD.org> AuthorDate: 2023-08-18 10:12:02 +0000 Commit: Dmitry Chagin <dchagin@FreeBSD.org> CommitDate: 2023-08-18 10:12:02 +0000 linux(4): Remove sys/cdefs.h inclusion where it's not needed due to 685dc743 --- sys/amd64/linux/linux_dummy_machdep.c | 1 - sys/amd64/linux/linux_genassym.c | 1 - sys/amd64/linux/linux_machdep.c | 1 - sys/amd64/linux/linux_sysvec.c | 1 - sys/amd64/linux/linux_vdso_gtod.c | 1 - sys/amd64/linux32/linux32_dummy_machdep.c | 1 - sys/amd64/linux32/linux32_genassym.c | 1 - sys/amd64/linux32/linux32_machdep.c | 1 - sys/amd64/linux32/linux32_sysvec.c | 1 - sys/amd64/linux32/linux32_vdso_gtod.c | 1 - sys/arm64/linux/linux_dummy_machdep.c | 1 - sys/arm64/linux/linux_machdep.c | 1 - sys/arm64/linux/linux_sysvec.c | 1 - sys/arm64/linux/linux_vdso_gtod.c | 1 - sys/compat/linux/linux.c | 1 - sys/compat/linux/linux_common.c | 1 - sys/compat/linux/linux_dummy.c | 1 - sys/compat/linux/linux_elf.c | 1 - sys/compat/linux/linux_elf32.c | 1 - sys/compat/linux/linux_elf64.c | 1 - sys/compat/linux/linux_emul.c | 1 - sys/compat/linux/linux_errno.c | 1 - sys/compat/linux/linux_event.c | 1 - sys/compat/linux/linux_file.c | 1 - sys/compat/linux/linux_fork.c | 1 - sys/compat/linux/linux_futex.c | 1 - sys/compat/linux/linux_getcwd.c | 1 - sys/compat/linux/linux_ioctl.c | 1 - sys/compat/linux/linux_ipc.c | 1 - sys/compat/linux/linux_mib.c | 1 - sys/compat/linux/linux_misc.c | 1 - sys/compat/linux/linux_mmap.c | 1 - sys/compat/linux/linux_netlink.c | 1 - sys/compat/linux/linux_ptrace.c | 1 - sys/compat/linux/linux_rseq.c | 1 - sys/compat/linux/linux_signal.c | 1 - sys/compat/linux/linux_socket.c | 1 - sys/compat/linux/linux_stats.c | 1 - sys/compat/linux/linux_sysctl.c | 1 - sys/compat/linux/linux_timer.c | 1 - sys/compat/linux/linux_uid16.c | 1 - sys/compat/linux/linux_util.c | 1 - sys/compat/linux/linux_vdso.c | 1 - sys/compat/linux/linux_xattr.c | 1 - sys/i386/linux/imgact_linux.c | 1 - sys/i386/linux/linux_copyout.c | 1 - sys/i386/linux/linux_dummy_machdep.c | 1 - sys/i386/linux/linux_genassym.c | 1 - sys/i386/linux/linux_machdep.c | 1 - sys/i386/linux/linux_ptrace_machdep.c | 1 - sys/i386/linux/linux_sysvec.c | 1 - sys/i386/linux/linux_vdso_gtod.c | 1 - 52 files changed, 52 deletions(-) diff --git a/sys/amd64/linux/linux_dummy_machdep.c b/sys/amd64/linux/linux_dummy_machdep.c index b3a4d330f416..4737386cb7f7 100644 --- a/sys/amd64/linux/linux_dummy_machdep.c +++ b/sys/amd64/linux/linux_dummy_machdep.c @@ -25,7 +25,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/kernel.h> #include <sys/proc.h> diff --git a/sys/amd64/linux/linux_genassym.c b/sys/amd64/linux/linux_genassym.c index 5cb5f06093eb..61526cd144b2 100644 --- a/sys/amd64/linux/linux_genassym.c +++ b/sys/amd64/linux/linux_genassym.c @@ -1,4 +1,3 @@ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/assym.h> diff --git a/sys/amd64/linux/linux_machdep.c b/sys/amd64/linux/linux_machdep.c index 54dbad76d6d2..2d2c5bb55ac8 100644 --- a/sys/amd64/linux/linux_machdep.c +++ b/sys/amd64/linux/linux_machdep.c @@ -29,7 +29,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/ktr.h> diff --git a/sys/amd64/linux/linux_sysvec.c b/sys/amd64/linux/linux_sysvec.c index 3bf74b8aaa96..55eb34b6d329 100644 --- a/sys/amd64/linux/linux_sysvec.c +++ b/sys/amd64/linux/linux_sysvec.c @@ -31,7 +31,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> #define __ELF_WORD_SIZE 64 #include <sys/param.h> diff --git a/sys/amd64/linux/linux_vdso_gtod.c b/sys/amd64/linux/linux_vdso_gtod.c index 25f56c121c6b..e2b5ebbec5ff 100644 --- a/sys/amd64/linux/linux_vdso_gtod.c +++ b/sys/amd64/linux/linux_vdso_gtod.c @@ -25,7 +25,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/elf.h> #include <sys/errno.h> #include <sys/proc.h> diff --git a/sys/amd64/linux32/linux32_dummy_machdep.c b/sys/amd64/linux32/linux32_dummy_machdep.c index 8bfdcf6f6ba8..c2206c81c528 100644 --- a/sys/amd64/linux32/linux32_dummy_machdep.c +++ b/sys/amd64/linux32/linux32_dummy_machdep.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/kernel.h> #include <sys/proc.h> diff --git a/sys/amd64/linux32/linux32_genassym.c b/sys/amd64/linux32/linux32_genassym.c index c6080c6f8de3..df3f8ef7b471 100644 --- a/sys/amd64/linux32/linux32_genassym.c +++ b/sys/amd64/linux32/linux32_genassym.c @@ -1,4 +1,3 @@ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/assym.h> diff --git a/sys/amd64/linux32/linux32_machdep.c b/sys/amd64/linux32/linux32_machdep.c index b0c313deff8e..2598384aada5 100644 --- a/sys/amd64/linux32/linux32_machdep.c +++ b/sys/amd64/linux32/linux32_machdep.c @@ -30,7 +30,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/fcntl.h> #include <sys/imgact.h> diff --git a/sys/amd64/linux32/linux32_sysvec.c b/sys/amd64/linux32/linux32_sysvec.c index d1c671399d1d..f2a379a66860 100644 --- a/sys/amd64/linux32/linux32_sysvec.c +++ b/sys/amd64/linux32/linux32_sysvec.c @@ -32,7 +32,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> #ifndef COMPAT_FREEBSD32 #error "Unable to compile Linux-emulator due to missing COMPAT_FREEBSD32 option!" #endif diff --git a/sys/amd64/linux32/linux32_vdso_gtod.c b/sys/amd64/linux32/linux32_vdso_gtod.c index 3552f37bae8e..62e8dc3d3caf 100644 --- a/sys/amd64/linux32/linux32_vdso_gtod.c +++ b/sys/amd64/linux32/linux32_vdso_gtod.c @@ -25,7 +25,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/elf.h> #include <sys/errno.h> #include <sys/proc.h> diff --git a/sys/arm64/linux/linux_dummy_machdep.c b/sys/arm64/linux/linux_dummy_machdep.c index ce2f9d6d9a7a..d38cea2ff1a4 100644 --- a/sys/arm64/linux/linux_dummy_machdep.c +++ b/sys/arm64/linux/linux_dummy_machdep.c @@ -25,7 +25,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/kernel.h> #include <sys/proc.h> diff --git a/sys/arm64/linux/linux_machdep.c b/sys/arm64/linux/linux_machdep.c index e5f9643894ca..9c9d56ca9949 100644 --- a/sys/arm64/linux/linux_machdep.c +++ b/sys/arm64/linux/linux_machdep.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/fcntl.h> #include <sys/ktr.h> diff --git a/sys/arm64/linux/linux_sysvec.c b/sys/arm64/linux/linux_sysvec.c index 77c6b9583a15..885ac4657380 100644 --- a/sys/arm64/linux/linux_sysvec.c +++ b/sys/arm64/linux/linux_sysvec.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #define __ELF_WORD_SIZE 64 #include <sys/param.h> diff --git a/sys/arm64/linux/linux_vdso_gtod.c b/sys/arm64/linux/linux_vdso_gtod.c index eef6022dbae3..94a3c948d332 100644 --- a/sys/arm64/linux/linux_vdso_gtod.c +++ b/sys/arm64/linux/linux_vdso_gtod.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/elf.h> #include <sys/errno.h> #include <sys/proc.h> diff --git a/sys/compat/linux/linux.c b/sys/compat/linux/linux.c index 2021dbf5b52c..569f9ffe1617 100644 --- a/sys/compat/linux/linux.c +++ b/sys/compat/linux/linux.c @@ -23,7 +23,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include "opt_inet6.h" #include <sys/param.h> diff --git a/sys/compat/linux/linux_common.c b/sys/compat/linux/linux_common.c index 67e37e158933..e22e29ff2b24 100644 --- a/sys/compat/linux/linux_common.c +++ b/sys/compat/linux/linux_common.c @@ -24,7 +24,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/exec.h> #include <sys/imgact.h> diff --git a/sys/compat/linux/linux_dummy.c b/sys/compat/linux/linux_dummy.c index 4529e39977ba..4fdab6daab48 100644 --- a/sys/compat/linux/linux_dummy.c +++ b/sys/compat/linux/linux_dummy.c @@ -25,7 +25,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/sdt.h> diff --git a/sys/compat/linux/linux_elf.c b/sys/compat/linux/linux_elf.c index c6c8fdcfdb30..c9eb6aea8373 100644 --- a/sys/compat/linux/linux_elf.c +++ b/sys/compat/linux/linux_elf.c @@ -37,7 +37,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/exec.h> #include <sys/imgact.h> diff --git a/sys/compat/linux/linux_elf32.c b/sys/compat/linux/linux_elf32.c index 59ecdd7510d7..6bd4b141af85 100644 --- a/sys/compat/linux/linux_elf32.c +++ b/sys/compat/linux/linux_elf32.c @@ -31,6 +31,5 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #define __ELF_WORD_SIZE 32 #include <compat/linux/linux_elf.c> diff --git a/sys/compat/linux/linux_elf64.c b/sys/compat/linux/linux_elf64.c index bc992b86a2f6..397bcf741fae 100644 --- a/sys/compat/linux/linux_elf64.c +++ b/sys/compat/linux/linux_elf64.c @@ -31,6 +31,5 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #define __ELF_WORD_SIZE 64 #include <compat/linux/linux_elf.c> diff --git a/sys/compat/linux/linux_emul.c b/sys/compat/linux/linux_emul.c index 731d3f1b340d..e5ab51802468 100644 --- a/sys/compat/linux/linux_emul.c +++ b/sys/compat/linux/linux_emul.c @@ -28,7 +28,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/fcntl.h> #include <sys/imgact.h> diff --git a/sys/compat/linux/linux_errno.c b/sys/compat/linux/linux_errno.c index 9b1fe162e8a8..f04f694e5bec 100644 --- a/sys/compat/linux/linux_errno.c +++ b/sys/compat/linux/linux_errno.c @@ -1,5 +1,4 @@ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/errno.h> diff --git a/sys/compat/linux/linux_event.c b/sys/compat/linux/linux_event.c index 220bd969a7a1..a7db8516e5f0 100644 --- a/sys/compat/linux/linux_event.c +++ b/sys/compat/linux/linux_event.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/callout.h> #include <sys/capsicum.h> diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index 1c4246e1d2f2..62094697e107 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/dirent.h> diff --git a/sys/compat/linux/linux_fork.c b/sys/compat/linux/linux_fork.c index 54eef6ac99fe..4ce3bc192b4e 100644 --- a/sys/compat/linux/linux_fork.c +++ b/sys/compat/linux/linux_fork.c @@ -28,7 +28,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/ktr.h> #include <sys/lock.h> diff --git a/sys/compat/linux/linux_futex.c b/sys/compat/linux/linux_futex.c index a22ffce0c28a..ab2760859e16 100644 --- a/sys/compat/linux/linux_futex.c +++ b/sys/compat/linux/linux_futex.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/imgact.h> #include <sys/imgact_elf.h> diff --git a/sys/compat/linux/linux_getcwd.c b/sys/compat/linux/linux_getcwd.c index aae711813896..e11b47aff178 100644 --- a/sys/compat/linux/linux_getcwd.c +++ b/sys/compat/linux/linux_getcwd.c @@ -35,7 +35,6 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/malloc.h> #include <sys/proc.h> diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 413d761520d3..d0bc8708ebf0 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/capsicum.h> #include <sys/cdio.h> diff --git a/sys/compat/linux/linux_ipc.c b/sys/compat/linux/linux_ipc.c index 0e4893a9749c..5b6a28b20774 100644 --- a/sys/compat/linux/linux_ipc.c +++ b/sys/compat/linux/linux_ipc.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/limits.h> #include <sys/msg.h> diff --git a/sys/compat/linux/linux_mib.c b/sys/compat/linux/linux_mib.c index c6325ce81d63..9e1c4ed9df57 100644 --- a/sys/compat/linux/linux_mib.c +++ b/sys/compat/linux/linux_mib.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/lock.h> #include <sys/malloc.h> diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 75da0cd3b0be..5e692fea1ea7 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -29,7 +29,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/fcntl.h> #include <sys/jail.h> diff --git a/sys/compat/linux/linux_mmap.c b/sys/compat/linux/linux_mmap.c index 0bb5a261c11e..223ff1733acb 100644 --- a/sys/compat/linux/linux_mmap.c +++ b/sys/compat/linux/linux_mmap.c @@ -29,7 +29,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/fcntl.h> #include <sys/file.h> #include <sys/ktr.h> diff --git a/sys/compat/linux/linux_netlink.c b/sys/compat/linux/linux_netlink.c index e6f387592125..a6846035c22e 100644 --- a/sys/compat/linux/linux_netlink.c +++ b/sys/compat/linux/linux_netlink.c @@ -25,7 +25,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include "opt_inet.h" #include "opt_inet6.h" #include "opt_netlink.h" diff --git a/sys/compat/linux/linux_ptrace.c b/sys/compat/linux/linux_ptrace.c index 10f18b970108..421760eab2a9 100644 --- a/sys/compat/linux/linux_ptrace.c +++ b/sys/compat/linux/linux_ptrace.c @@ -29,7 +29,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/lock.h> #include <sys/proc.h> diff --git a/sys/compat/linux/linux_rseq.c b/sys/compat/linux/linux_rseq.c index 05fd0f340de0..e8de17318d60 100644 --- a/sys/compat/linux/linux_rseq.c +++ b/sys/compat/linux/linux_rseq.c @@ -25,7 +25,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/systm.h> diff --git a/sys/compat/linux/linux_signal.c b/sys/compat/linux/linux_signal.c index 73571d7f67c0..5b4f9c2adc6a 100644 --- a/sys/compat/linux/linux_signal.c +++ b/sys/compat/linux/linux_signal.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include "opt_ktrace.h" #include <sys/param.h> diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c index eaccfab76eee..6c7cf12cf42e 100644 --- a/sys/compat/linux/linux_socket.c +++ b/sys/compat/linux/linux_socket.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include "opt_inet6.h" #include <sys/param.h> diff --git a/sys/compat/linux/linux_stats.c b/sys/compat/linux/linux_stats.c index 4621bdf986df..6c032cc569f8 100644 --- a/sys/compat/linux/linux_stats.c +++ b/sys/compat/linux/linux_stats.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include "opt_ktrace.h" #include <sys/param.h> diff --git a/sys/compat/linux/linux_sysctl.c b/sys/compat/linux/linux_sysctl.c index 6753941505b8..65c64a7ba563 100644 --- a/sys/compat/linux/linux_sysctl.c +++ b/sys/compat/linux/linux_sysctl.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/lock.h> #include <sys/malloc.h> diff --git a/sys/compat/linux/linux_timer.c b/sys/compat/linux/linux_timer.c index 66fd309a9485..2188006ec38f 100644 --- a/sys/compat/linux/linux_timer.c +++ b/sys/compat/linux/linux_timer.c @@ -28,7 +28,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/proc.h> #include <sys/signal.h> diff --git a/sys/compat/linux/linux_uid16.c b/sys/compat/linux/linux_uid16.c index aa7fc628c734..a0c9f1c39198 100644 --- a/sys/compat/linux/linux_uid16.c +++ b/sys/compat/linux/linux_uid16.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/fcntl.h> #include <sys/lock.h> diff --git a/sys/compat/linux/linux_util.c b/sys/compat/linux/linux_util.c index 07198d1eb369..ad6b6fda644e 100644 --- a/sys/compat/linux/linux_util.c +++ b/sys/compat/linux/linux_util.c @@ -31,7 +31,6 @@ * from: svr4_util.c,v 1.5 1995/01/22 23:44:50 christos Exp */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/types.h> #include <sys/bus.h> diff --git a/sys/compat/linux/linux_vdso.c b/sys/compat/linux/linux_vdso.c index 949fb660a2ff..a415a92783de 100644 --- a/sys/compat/linux/linux_vdso.c +++ b/sys/compat/linux/linux_vdso.c @@ -25,7 +25,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #if defined(__i386__) || (defined(__amd64__) && defined(COMPAT_LINUX32)) #define __ELF_WORD_SIZE 32 #else diff --git a/sys/compat/linux/linux_xattr.c b/sys/compat/linux/linux_xattr.c index 2058033104f6..b54a0d2f89ad 100644 --- a/sys/compat/linux/linux_xattr.c +++ b/sys/compat/linux/linux_xattr.c @@ -25,7 +25,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/extattr.h> #include <sys/fcntl.h> diff --git a/sys/i386/linux/imgact_linux.c b/sys/i386/linux/imgact_linux.c index 828fcb891f32..63bf89784f84 100644 --- a/sys/i386/linux/imgact_linux.c +++ b/sys/i386/linux/imgact_linux.c @@ -29,7 +29,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/exec.h> diff --git a/sys/i386/linux/linux_copyout.c b/sys/i386/linux/linux_copyout.c index c55b39328f79..58fde98a77b6 100644 --- a/sys/i386/linux/linux_copyout.c +++ b/sys/i386/linux/linux_copyout.c @@ -28,7 +28,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/imgact.h> #include <sys/lock.h> diff --git a/sys/i386/linux/linux_dummy_machdep.c b/sys/i386/linux/linux_dummy_machdep.c index dd8c67a72033..0a168bd46ccb 100644 --- a/sys/i386/linux/linux_dummy_machdep.c +++ b/sys/i386/linux/linux_dummy_machdep.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/kernel.h> #include <sys/proc.h> diff --git a/sys/i386/linux/linux_genassym.c b/sys/i386/linux/linux_genassym.c index 0703072697c3..5863b658b4f9 100644 --- a/sys/i386/linux/linux_genassym.c +++ b/sys/i386/linux/linux_genassym.c @@ -1,4 +1,3 @@ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/assym.h> #include <sys/systm.h> diff --git a/sys/i386/linux/linux_machdep.c b/sys/i386/linux/linux_machdep.c index 4cdee604a7fa..8dbcbcd2609e 100644 --- a/sys/i386/linux/linux_machdep.c +++ b/sys/i386/linux/linux_machdep.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include "opt_posix.h" #include <sys/param.h> diff --git a/sys/i386/linux/linux_ptrace_machdep.c b/sys/i386/linux/linux_ptrace_machdep.c index 405d0062f731..9b20b721eaa9 100644 --- a/sys/i386/linux/linux_ptrace_machdep.c +++ b/sys/i386/linux/linux_ptrace_machdep.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include "opt_cpu.h" #include <sys/param.h> diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c index dc59c44c4da9..fe3e3f743620 100644 --- a/sys/i386/linux/linux_sysvec.c +++ b/sys/i386/linux/linux_sysvec.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #define __ELF_WORD_SIZE 32 #include <sys/param.h> diff --git a/sys/i386/linux/linux_vdso_gtod.c b/sys/i386/linux/linux_vdso_gtod.c index d889adb23808..2147dbd3a0f8 100644 --- a/sys/i386/linux/linux_vdso_gtod.c +++ b/sys/i386/linux/linux_vdso_gtod.c @@ -25,7 +25,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/elf.h> #include <sys/errno.h> #include <sys/proc.h>