Page MenuHomeFreeBSD

db_command.c: use designated initializers
ClosedPublic

Authored by mhorne on Jun 23 2022, 6:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 4, 5:51 PM
Unknown Object (File)
Mon, Mar 3, 1:34 PM
Unknown Object (File)
Tue, Feb 25, 12:19 AM
Unknown Object (File)
Sun, Feb 16, 2:20 AM
Unknown Object (File)
Jan 23 2025, 8:56 PM
Unknown Object (File)
Jan 23 2025, 8:51 PM
Unknown Object (File)
Jan 23 2025, 6:38 PM
Unknown Object (File)
Jan 23 2025, 4:49 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