Page MenuHomeFreeBSD

db_command.c: use designated initializers
ClosedPublic

Authored by mhorne on Jun 23 2022, 6:04 PM.
Tags
None
Referenced Files
F132218287: D35580.id107305.diff
Tue, Oct 14, 9:41 PM
Unknown Object (File)
Mon, Oct 6, 12:52 PM
Unknown Object (File)
Tue, Sep 30, 2:05 PM
Unknown Object (File)
Aug 15 2025, 12:09 AM
Unknown Object (File)
Aug 12 2025, 3:53 AM
Unknown Object (File)
Aug 6 2025, 6:21 AM
Unknown Object (File)
Jul 29 2025, 11:59 AM
Unknown Object (File)
Jul 6 2025, 2:40 AM

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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable