]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Reduce reliance on sys/sysproto.h pollution
authorBrooks Davis <brooks@FreeBSD.org>
Mon, 15 Apr 2024 16:53:05 +0000 (17:53 +0100)
committerBrooks Davis <brooks@FreeBSD.org>
Mon, 15 Apr 2024 20:35:40 +0000 (21:35 +0100)
commit6bb132ba1e4e28cf1e713c8dcd77f2e8af7bde88
tree1648b198b51ae0fa57d917cb94830f6cdeeb7c14
parent101c80fe46b5c1a0f957e21ea56bf868451226aa
Reduce reliance on sys/sysproto.h pollution

Add sys/errno.h, sys/malloc.h, sys/queue.h, and vm/uma.h as needed.

sys/sysproto.h currently includes sys/acl.h which currently includes
sys/param.h, sys/queue.h, and vm/uma.h which in turn bring in
sys/errno.h sys/malloc.h.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D44465
16 files changed:
sbin/restore/tape.c
sys/amd64/sgx/sgx_linux.c
sys/compat/linux/linux_mmap.c
sys/compat/linux/linux_util.h
sys/dev/nvme/nvme_test.c
sys/fs/autofs/autofs.h
sys/fs/tmpfs/tmpfs_subr.c
sys/kern/kern_environment.c
sys/kern/kern_membarrier.c
sys/kern/kern_procctl.c
sys/kern/kern_prot.c
sys/kern/kern_rctl.c
sys/kern/kern_time.c
sys/kern/kern_umtx.c
sys/kern/kern_uuid.c
sys/sys/namei.h