Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> writes: > -#define SUBMODULE_UPDATE_STRATEGY_INIT {SM_UPDATE_UNSPECIFIED} > +#define SUBMODULE_UPDATE_STRATEGY_INIT { \ > + .type = SM_UPDATE_UNSPECIFIED, \ > +} Much better ;-)
Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> writes: > -#define SUBMODULE_UPDATE_STRATEGY_INIT {SM_UPDATE_UNSPECIFIED} > +#define SUBMODULE_UPDATE_STRATEGY_INIT { \ > + .type = SM_UPDATE_UNSPECIFIED, \ > +} Much better ;-)