Skip to content
Commit a36995e2 authored by Jonas Otto's avatar Jonas Otto Committed by Carles Cufí
Browse files

ring_buffer: fix designated initializer order in RING_BUF_DECLARE



Change order of designated initializers for ring_buf struct in the
RING_BUF_DECLARE macro, to match the order in the struct definition.
This fixes compilation when using C++, which requires using the same
order as in the struct definition.
Fixes #45697

Signed-off-by: default avatarJonas Otto <jonas@jonasotto.com>
parent a0aa8c76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment