mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-18 20:57:56 +00:00
Tweak structure initialisation to avoid old gcc warnings
This commit is contained in:
parent
2356a8ec20
commit
b38cc82b82
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user