Page MenuHomeFreeBSD

Move to using bool instead of boolean_t
ClosedPublic

Authored by imp on Jul 19 2019, 6:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 4, 12:16 PM
Unknown Object (File)
Sat, Jul 4, 11:23 AM
Unknown Object (File)
Sat, Jul 4, 1:23 AM
Unknown Object (File)
Thu, Jul 2, 12:59 AM
Unknown Object (File)
May 10 2026, 6:20 PM
Unknown Object (File)
May 10 2026, 7:59 AM
Unknown Object (File)
May 8 2026, 9:11 PM
Unknown Object (File)
Apr 28 2026, 11:51 AM
Subscribers
None

Details

Summary

While there are subtle semantic differences between bool and boolean_t, none of
them matter in these cases. Prefer true/false when dealing with bool
type. Preserve a couple of TRUEs since they are passed into int args into CAM.
Preserve a couple of FALSEs when used for status.done, an int.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable