aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/parse.c
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2016-11-02 18:16:02 +0100
committerChristopher Li <sparse@chrisli.org>2017-01-27 08:53:08 -0800
commit0a367bdf4b13b984c6572d623456971d62601641 (patch)
tree38ee56c8ca4bfcf421da1558e77a5b5ed3fb604e /parse.c
parented73fd32736d0c945b29857be130153c81699478 (diff)
downloadsparse-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index 385e40ce..13b8d341 100644
--- a/parse.c
+++ b/parse.c
@@ -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",