git: <sys/types.h>: Add definitions of bool, true and false for the kernel.
Sascha Wildner
swildner at crater.dragonflybsd.org
Tue Oct 18 12:27:50 PDT 2016
commit 3b4a3b3bccbc1fcc87ae7ee8716d767b02d6f231
Author: Sascha Wildner <saw at online.de>
Date: Tue Oct 18 21:27:32 2016 +0200
<sys/types.h>: Add definitions of bool, true and false for the kernel.
Remove some local definitions in drivers and also switch boolean_t
over to _Bool (if available).
This is similar to how FreeBSD does it.
Summary of changes:
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(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3b4a3b3bccbc1fcc87ae7ee8716d767b02d6f231
--
DragonFly BSD source repository
More information about the Commits
mailing list