Tweak structure initialisation to avoid old gcc warnings

This commit is contained in:
Jeremy Lakeman 2017-06-28 13:34:38 +09:30
parent 2356a8ec20
commit b38cc82b82

View File

@ -151,7 +151,7 @@ DECLARE_SECTION(struct internal_binding, bindings);
static struct internal_binding BIND ## FUNC IN_SECTION(bindings) = { \
.port = PORT, \
.function = FUNC, \
.stats.name = #FUNC, \
.stats = {.name = #FUNC, }, \
}
#endif //__SERVAL_DNA__OVERLAY_PACKET_H