shell: Replace __attribute__((unused)) with __unused
Replaced gcc specific with generic. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
2885da209b
commit
f0548f100e
1 changed files with 3 additions and 3 deletions
|
@ -162,10 +162,10 @@ struct shell_static_entry {
|
|||
mandatory, optional) \
|
||||
), \
|
||||
(\
|
||||
static shell_cmd_handler dummy_##syntax##_handler \
|
||||
__attribute__((unused)) = handler;\
|
||||
static shell_cmd_handler dummy_##syntax##_handler __unused = \
|
||||
handler;\
|
||||
static const struct shell_cmd_entry *dummy_subcmd_##syntax \
|
||||
__attribute__((unused)) = subcmd\
|
||||
__unused = subcmd\
|
||||
)\
|
||||
)
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue