From 45cb29a2ada4edfc2b547fe023d923ce0299a61d Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 8 Aug 2019 00:30:28 +0200 Subject: src: remove global symbol_table Store symbol tables in context object instead. Use the nft_ctx object to store the dynamic symbol table. Pass it on to the parse_ctx object so this can be accessed from the parse routines. This dynamic symbol table is also accesible from the output_ctx object for print routines. Signed-off-by: Pablo Neira Ayuso --- include/meta.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/meta.h') diff --git a/include/meta.h b/include/meta.h index a49b4ff5..0fe95fd6 100644 --- a/include/meta.h +++ b/include/meta.h @@ -42,6 +42,4 @@ extern const struct datatype devgroup_type; extern const struct datatype pkttype_type; extern const struct datatype ifname_type; -extern struct symbol_table *devgroup_tbl; - #endif /* NFTABLES_META_H */ -- cgit v1.2.3