summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/expr_ops.h3
-rw-r--r--include/utils.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/include/expr_ops.h b/include/expr_ops.h
index ea5defd..08cf57f 100644
--- a/include/expr_ops.h
+++ b/include/expr_ops.h
@@ -9,8 +9,6 @@ struct nlmsghdr;
struct nft_rule_expr;
struct expr_ops {
- struct list_head head;
-
const char *name;
uint32_t alloc_len;
int max_attr;
@@ -26,7 +24,6 @@ struct expr_ops {
struct nft_parse_err *err);
};
-void nft_expr_ops_register(struct expr_ops *ops);
struct expr_ops *nft_expr_ops_lookup(const char *name);
#define nft_expr_data(ops) (void *)ops->data
diff --git a/include/utils.h b/include/utils.h
index 1801108..380b020 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -15,7 +15,6 @@
# define EXPORT_SYMBOL
#endif
-#define __init __attribute__((constructor))
#define __noreturn __attribute__((__noreturn__))
#define xfree(ptr) free((void *)ptr);