diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/statement.h | 2 | ||||
-rw-r--r-- | include/xt.h | 7 |
2 files changed, 0 insertions, 9 deletions
diff --git a/include/statement.h b/include/statement.h index 49fb1091..61b5027b 100644 --- a/include/statement.h +++ b/include/statement.h @@ -195,8 +195,6 @@ struct xt_stmt { void *entry; }; -extern struct stmt *xt_stmt_alloc(const struct location *loc); - /** * enum stmt_types - statement types * diff --git a/include/xt.h b/include/xt.h index 753511e6..dfdf9ee0 100644 --- a/include/xt.h +++ b/include/xt.h @@ -8,9 +8,6 @@ struct rule_pp_ctx; struct rule; #ifdef HAVE_LIBXTABLES -void xt_stmt_xlate(const struct stmt *stmt); -void xt_stmt_release(const struct stmt *stmt); - void netlink_parse_target(struct netlink_parse_ctx *ctx, const struct location *loc, const struct nftnl_expr *nle); @@ -20,9 +17,6 @@ void netlink_parse_match(struct netlink_parse_ctx *ctx, void stmt_xt_postprocess(struct rule_pp_ctx *rctx, struct stmt *stmt, struct rule *rule); #else -static inline void xt_stmt_xlate(const struct stmt *stmt) {} -static inline void xt_stmt_release(const struct stmt *stmt) {} - #include <erec.h> static inline void netlink_parse_target(struct netlink_parse_ctx *ctx, @@ -35,5 +29,4 @@ static inline void stmt_xt_postprocess(struct rule_pp_ctx *rctx, struct stmt *stmt, struct rule *rule) {} #endif - #endif /* _NFT_XT_H_ */ |