diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-05-09 23:05:53 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-05-09 23:24:05 +0200 |
commit | f9700f17b081fda3887cac5a6820a5da1d2e0fd6 (patch) | |
tree | 87ef3472573137be8066d4123add1b49076c7def /src/expr/ct.c | |
parent | cd198535c645b34ca2e5cf0f33df28f1a6341982 (diff) |
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 <pablo@netfilter.org>
Diffstat (limited to 'src/expr/ct.c')
-rw-r--r-- | src/expr/ct.c | 2 |
1 files changed, 1 insertions, 1 deletions
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", |