: Add definitions of bool, true and false for the kernel

Operating Systems / DragonFlyBSD - Sascha Wildner [online.de] - 18 October 2016 14:27 UTC

Remove some local definitions in drivers and also switch boolean_t over to _Bool (if available).

This is similar to how FreeBSD does it.

3b4a3b3 : Add definitions of bool, true and false for the kernel.
sys/cpu/x86_64/include/stdint.h | 8 +++++++-
sys/dev/drm/include/linux/types.h | 6 ------
sys/dev/drm/include/linux/ww_mutex.h | 1 -
sys/dev/netif/ig_hal/e1000_osdep.h | 1 -
sys/dev/netif/ix/ixgbe_osdep.h | 3 ---
sys/sys/types.h | 12 ++++++++++++
6 files changed, 19 insertions(+), 12 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share