sys: Remove static modifier

Remove static struct modifier from SPSC_DECLARE macro.
This solves a warning emitted when compiling for native_sim.

Signed-off-by: Luca Arato <luca.arato@secomind.com>
This commit is contained in:
Luca Arato 2025-04-10 14:51:35 +02:00 committed by Benjamin Cabé
commit ab0218ed7e

View file

@ -99,7 +99,7 @@ struct spsc {
* @param type Type stored in the spsc * @param type Type stored in the spsc
*/ */
#define SPSC_DECLARE(name, type) \ #define SPSC_DECLARE(name, type) \
static struct spsc_##name { \ struct spsc_##name { \
struct spsc _spsc; \ struct spsc _spsc; \
type * const buffer; \ type * const buffer; \
} }