diff options
author | Varsha Rao <rvarsha016@gmail.com> | 2017-08-16 19:48:13 +0530 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-08-17 12:48:20 +0200 |
commit | bce55916b51ec1a4c23322781e3b0c698ecc9561 (patch) | |
tree | 695582fe195eee42f4e7ac56f296eba8bec8c53b /include/xt.h | |
parent | 96c1346d5c230d2c381b9c1c9e8e2b30d3915ea1 (diff) |
src: Remove xt_stmt_() functions.
Remove functions xt_stmt_alloc(), xt_stmt_release(), xt_stmt_xlate(),
xt_stmt_print(), xt_stmt_destroy() as they are not used. Similarly,
remove structure xt_stmt_ops.
Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/xt.h')
-rw-r--r-- | include/xt.h | 7 |
1 files changed, 0 insertions, 7 deletions
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_ */ |