make 'ignored_attributes[]' static
PATCH 1/1 make 'ignored_attributes[]' static
And so quiets a warning from sparse about an undeclared symbol when running on its own code.
Signed-off-by Luc Van Oostenryck <[email protected]>
--- parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
parse.c +1 -1
@@ -501,7 +501,7 @@ static struct init_keyword { { "__word__", NS_KEYWORD, MOD_LONG, .op = &mode_word_op }, }; -const char *ignored_attributes[] = { +static const char *ignored_attributes[] = {"alias" ,"__alias__" , "alloc_align",
Signature · 1 line
2.10.1
Quoted 2 lines · Luc Van Oostenryck
And so quiets a warning from sparse about an undeclared symbol when running on its own code.
Applied.
Chris