<sys/types.h>: Make boolean_t kernel only type.
commit6db8e0304820c7b0801505ff937540a5dd105e47
authorzrj <rimvydas.jasinskas@gmail.com>
Tue, 12 Nov 2019 10:39:02 +0000 (12 12:39 +0200)
committerzrj <rimvydas.jasinskas@gmail.com>
Thu, 14 Nov 2019 14:02:50 +0000 (14 16:02 +0200)
treef418ce8150d43d11351547c9f0dc82032335ff92
parent27a6bce65aa44c99c58f8517af569bd0fabc6240
<sys/types.h>: Make boolean_t kernel only type.

 This effectively eliminates boolean_t from use in userland.  Injecting
 this type into userland codes often creates issues in DPorts where ports
 are defining their own boolean_t type.  Kernel headers now do not make
 any references to this type even under _KERNEL_STRUCTURES.
 If visibility is desired kernel headers can use __boolean_t that will
 not conflict with 3rd-party software codes.

 While there, make "struct pagerops" in vm/vm_pager.h kernel only, it is
 only used below for pagertab that is already under _KERNEL.
sys/sys/types.h
sys/vm/vm_pager.h