kernel: improve C++ compatibility
This patch improves C++ compatibility by reordering the K_POLL_EVENT_STATIC_INITIALIZER designated initializer macro so its designators appear in the same order as the members they initialize. Signed-off-by: Markus Fuchs <markus.fuchs@de.sauter-bc.com>
This commit is contained in:
parent
fe303c42cc
commit
be21d3fab2
1 changed files with 1 additions and 1 deletions
|
@ -4592,8 +4592,8 @@ struct k_poll_event {
|
|||
#define K_POLL_EVENT_STATIC_INITIALIZER(event_type, event_mode, event_obj, \
|
||||
event_tag) \
|
||||
{ \
|
||||
.type = event_type, \
|
||||
.tag = event_tag, \
|
||||
.type = event_type, \
|
||||
.state = K_POLL_STATE_NOT_READY, \
|
||||
.mode = event_mode, \
|
||||
.unused = 0, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue