From 93483364369d8ef10d9e38018da02c6b0eae3077 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 31 Aug 2014 21:53:12 +0200 Subject: src: get rid of cached copies of x_tables.h and xt_LOG.h Keeping the full cached copy the of x_tables.h file in tree is too much for just the XT_EXTENSION_MAXNAMELEN constant. Similarly, xt_LOG.h is not actually required by the tests, we can use any whatever syntetic data to make sure the setter and getter provide the same result. So, let's get rid of these headers from the library tree. Signed-off-by: Pablo Neira Ayuso --- src/expr/match.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/expr/match.c') diff --git a/src/expr/match.c b/src/expr/match.c index 378d5dd..dc66585 100644 --- a/src/expr/match.c +++ b/src/expr/match.c @@ -20,13 +20,15 @@ #include #include -#include #include #include #include "expr_ops.h" +/* From include/linux/netfilter/x_tables.h */ +#define XT_EXTENSION_MAXNAMELEN 29 + struct nft_expr_match { char name[XT_EXTENSION_MAXNAMELEN]; uint32_t rev; -- cgit v1.2.3