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, Feb 9, 2:14 AM
Unknown Object (File)
Feb 1 2026, 10:00 PM
Unknown Object (File)
Jan 21 2026, 1:00 PM
Unknown Object (File)
Jan 20 2026, 6:02 PM
Unknown Object (File)
Jan 20 2026, 4:46 PM
Unknown Object (File)
Jan 20 2026, 4:42 PM
Unknown Object (File)
Jan 20 2026, 12:23 PM
Unknown Object (File)
Dec 6 2025, 2:56 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46098
Build 42987: arc lint + arc unit