From f9700f17b081fda3887cac5a6820a5da1d2e0fd6 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 9 May 2016 23:05:53 +0200 Subject: src: missing static in several array definitions They are not used out of the scope of the C file where they are defined, so we can statify them. Signed-off-by: Pablo Neira Ayuso --- src/expr/ct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/expr/ct.c') diff --git a/src/expr/ct.c b/src/expr/ct.c index d69d56b..7d96df4 100644 --- a/src/expr/ct.c +++ b/src/expr/ct.c @@ -152,7 +152,7 @@ nftnl_expr_ct_parse(struct nftnl_expr *e, struct nlattr *attr) return 0; } -const char *ctkey2str_array[NFT_CT_MAX] = { +static const char *ctkey2str_array[NFT_CT_MAX] = { [NFT_CT_STATE] = "state", [NFT_CT_DIRECTION] = "direction", [NFT_CT_STATUS] = "status", -- cgit v1.2.3