Page MenuHomeFreeBSD

db_command.c: use designated initializers
ClosedPublic

Authored by mhorne on Jun 23 2022, 6:04 PM.
Tags
None
Referenced Files
F118933575: D35580.id107305.diff
Tue, Jun 3, 12:15 PM
Unknown Object (File)
Wed, May 14, 6:12 PM
Unknown Object (File)
Fri, May 9, 4:54 PM
Unknown Object (File)
Thu, May 8, 8:44 PM
Unknown Object (File)
Apr 27 2025, 2:41 AM
Unknown Object (File)
Apr 26 2025, 8:54 PM
Unknown Object (File)
Apr 26 2025, 4:45 PM
Unknown Object (File)
Apr 26 2025, 4:37 PM

Details

Summary

Provide separate helper macros for regular commands and next-level table
commands as they are mutually exclusive. This ensures proper
initialization of each element and allows us to exclude some redundant
fields, such as specifying .more = NULL for every regular command.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46098
Build 42987: arc lint + arc unit