diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2016-11-02 18:16:02 +0100 |
|---|---|---|
| committer | Christopher Li <sparse@chrisli.org> | 2017-01-27 08:53:08 -0800 |
| commit | 0a367bdf4b13b984c6572d623456971d62601641 (patch) | |
| tree | 38ee56c8ca4bfcf421da1558e77a5b5ed3fb604e /parse.c | |
| parent | ed73fd32736d0c945b29857be130153c81699478 (diff) | |
| download | sparse-dev-0a367bdf4b13b984c6572d623456971d62601641.tar.gz | |
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 <luc.vanoostenryck@gmail.com>
Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'parse.c')
| -rw-r--r-- | parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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", |
