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)
Wed, Mar 18, 6:25 AM
Unknown Object (File)
Sun, Mar 15, 12:10 PM
Unknown Object (File)
Mon, Mar 9, 8:00 PM
Unknown Object (File)
Mar 9 2026, 1:58 PM
Unknown Object (File)
Mar 7 2026, 5:57 PM
Unknown Object (File)
Mar 6 2026, 10:07 AM
Unknown Object (File)
Mar 4 2026, 5:15 AM
Unknown Object (File)
Mar 1 2026, 11:17 PM
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