From f4c87d0a7037188ff69dff29d5154a102230b792 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Tue, 8 May 2018 13:08:34 +0200 Subject: libnftables: Make some arrays globally accessible This removes static flag and adds declarations in headers for the following arrays: * ct_templates from src/ct.c * mark_tbl from src/datatype.c * meta_templates and devgroup_tbl from src/meta.c * table_flags_name from src/rule.c * set_stmt_op_names from src/statement.c * tcpopthdr_protocols from src/tcpopt.c Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- src/rule.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/rule.c') diff --git a/src/rule.c b/src/rule.c index 279b741b..5f73bebc 100644 --- a/src/rule.c +++ b/src/rule.c @@ -856,8 +856,6 @@ struct table *table_lookup(const struct handle *h, return NULL; } -#define TABLE_FLAGS_MAX 1 - const char *table_flags_name[TABLE_FLAGS_MAX] = { "dormant", }; -- cgit v1.2.3