Page MenuHomeFreeBSD

db_command.c: use designated initializers
ClosedPublic

Authored by mhorne on Jun 23 2022, 6:04 PM.
Tags
None
Referenced Files
F108301502: D35580.diff
Thu, Jan 23, 4:49 PM
Unknown Object (File)
Sun, Jan 19, 12:24 PM
Unknown Object (File)
Dec 7 2024, 7:52 AM
Unknown Object (File)
Nov 21 2024, 6:40 AM
Unknown Object (File)
Nov 17 2024, 12:35 PM
Unknown Object (File)
Nov 17 2024, 9:29 AM
Unknown Object (File)
Sep 30 2024, 7:05 PM
Unknown Object (File)
Sep 30 2024, 1:55 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable