Fix userspace build after r302235: do not expose bool field of the
authorkib <kib@FreeBSD.org>
Mon, 27 Jun 2016 23:34:53 +0000 (23:34 +0000)
committerkib <kib@FreeBSD.org>
Mon, 27 Jun 2016 23:34:53 +0000 (23:34 +0000)
commit8dad8cb1addbbb87b0b385c7ce4e687983d84461
tree4240266680d0478960b3ea4a6e6945587cffa653
parent8ecc9fc9fd5078df5c4f2a119a666f9cc7da8193
Fix userspace build after r302235: do not expose bool field of the
structure, change it to int.

The real fix is to sanitize user-visible definitions in sys/event.h,
e.g. the affected struct knlist is of no use for userspace programs.

Reported and tested by: jkim
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Approved by: re (gjb)
sys/kern/kern_event.c
sys/sys/event.h