On Wed, 20 Nov 2019 10:17:09 -0700, "Theo de Raadt" wrote: > Todd C. Miller <[email protected]> wrote: > > > On Wed, 20 Nov 2019 07:38:46 -0700, "Theo de Raadt" wrote: > > > > > Kernel environment cannot use userland includes. > > > > Some other systems have sys/stdbool.h, we could as well if we wanted > > to. The simplest approach is to move include/stdbool.h -> > > sys/sys/stdbool.h and make /usr/include/stdbool.h a link to > > sys/stdbool.h as we do for stdarg.h and stdint.h. > > But is it really neccessary? Has int really caused everyone that > much harm?
>From a readability standpoint, it is nice to be able to use true and false. You can use those with int as well as with bool. - todd
