-
Notifications
You must be signed in to change notification settings - Fork 8.2k
include: ring_buffer: fix storage class specifier in RING_BUF_* macros #36617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Despite documentation macros RING_BUF_*_DECLARE_* do not define struct ring_buf as static. Add static specifier to struct ring_buf in RING_BUF_*_DECLARE_* macros. Fixes: zephyrproject-rtos#36608 Signed-off-by: Johann Fischer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed #36608
@nordic-krch can you shed some light here? |
|
I think we need to remove word |
|
Created #37565 |
|
close in favor of #37926 |
Despite documentation macros
RING_BUF_*_DECLARE_*do notdefine struct ring_buf as static. Add static specifier to
struct ring_buf in
RING_BUF_*_DECLARE_*macros.Fixes: #36608