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)
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
Unknown Object (File)
Sep 30 2024, 1:47 PM
Unknown Object (File)
Sep 27 2024, 12:35 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