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)
Mon, Apr 22, 12:36 PM
Unknown Object (File)
Feb 22 2024, 6:13 PM
Unknown Object (File)
Feb 22 2024, 6:13 PM
Unknown Object (File)
Feb 22 2024, 6:12 PM
Unknown Object (File)
Feb 22 2024, 12:37 AM
Unknown Object (File)
Feb 19 2024, 7:13 PM
Unknown Object (File)
Feb 12 2024, 4:13 PM
Unknown Object (File)
Jan 14 2024, 10:09 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