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, Feb 15, 9:09 AM
Unknown Object (File)
Wed, Feb 12, 7:43 AM
Unknown Object (File)
Wed, Feb 12, 7:43 AM
Unknown Object (File)
Wed, Feb 12, 4:59 AM
Unknown Object (File)
Jan 14 2025, 1:58 PM
Unknown Object (File)
Nov 9 2024, 3:20 PM
Unknown Object (File)
Nov 6 2024, 7:06 PM
Unknown Object (File)
Nov 3 2024, 3:17 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