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:
parent
73bf428ea1
commit
ab0218ed7e
1 changed files with 1 additions and 1 deletions
|
@ -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; \
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue