From 6db6ec4d46270d1cd0b877bc03cd589789c53367 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 24 Oct 2017 15:20:04 +0200 Subject: src: add nft_ prefix to everything exposed through include/nftables/nftables.h Prepend nft_ prefix before these are exposed, reduce chances we hit symbol namespace pollution problems when mixing libnftables with other existing libraries. Signed-off-by: Pablo Neira Ayuso --- src/parser_bison.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/parser_bison.y') diff --git a/src/parser_bison.y b/src/parser_bison.y index 7016f5b2..ebcdba5c 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -121,9 +121,9 @@ static void location_update(struct location *loc, struct location *rhs, int n) %initial-action { location_init(scanner, state, &yylloc); - if (nft->debug_mask & DEBUG_SCANNER) + if (nft->debug_mask & NFT_DEBUG_SCANNER) nft_set_debug(1, scanner); - if (nft->debug_mask & DEBUG_PARSER) + if (nft->debug_mask & NFT_DEBUG_PARSER) yydebug = 1; } -- cgit v1.2.3