• Mitchell Horne's avatar
    db_command.c: use designated initializers · 8a099482
    Mitchell Horne authored
    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.
    
    Reviewed by:	markj, jhb
    MFC after:	3 days
    Sponsored by:	Juniper Networks, Inc.
    Sponsored by:	Klara, Inc.
    Differential Revision:	https://reviews.freebsd.org/D35580
    8a099482