Page MenuHomeFreeBSD

db_command.c: use designated initializers
ClosedPublic

Authored by mhorne on Jun 23 2022, 6:04 PM.
Tags
None
Referenced Files
F156473108: D35580.id107305.diff
Wed, May 13, 10:14 PM
F156473077: D35580.id107790.diff
Wed, May 13, 10:14 PM
F156472318: D35580.diff
Wed, May 13, 10:08 PM
Unknown Object (File)
Sun, May 3, 6:46 PM
Unknown Object (File)
Sat, May 2, 11:20 PM
Unknown Object (File)
Tue, Apr 28, 8:22 PM
Unknown Object (File)
Tue, Apr 28, 8:13 PM
Unknown Object (File)
Tue, Apr 28, 7:18 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