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>
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",
return NFTNL_CMD_UNSPEC;
}
-const char *cmd2tag[NFTNL_CMD_MAX] = {
+static const char *cmd2tag[NFTNL_CMD_MAX] = {
[NFTNL_CMD_ADD] = ADD,
[NFTNL_CMD_INSERT] = INSERT,
[NFTNL_CMD_DELETE] = DELETE,