git: <sys/types.h>: Make boolean_t kernel only type.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Thu Nov 14 05:41:44 PST 2019


commit 6db8e0304820c7b0801505ff937540a5dd105e47
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Tue Nov 12 12:39:02 2019 +0200

    <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.

Summary of changes:
 sys/sys/types.h   |  8 +++-----
 sys/vm/vm_pager.h | 10 ++++++----
 2 files changed, 9 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6db8e0304820c7b0801505ff937540a5dd105e47


-- 
DragonFly BSD source repository



More information about the Commits mailing list