summaryrefslogtreecommitdiffstats
path: root/src/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal.h')
-rw-r--r--src/internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal.h b/src/internal.h
index e76a5cb..c8dea7e 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -16,6 +16,8 @@
#include <libnftnl/common.h>
#include <linux/netfilter/nf_tables.h>
+#define xfree(ptr) free((void *)ptr);
+
#define BASE_DEC 10
#define BASE_HEX 16
@@ -144,8 +146,6 @@ int nft_event_footer_snprintf(char *buf, size_t bufsize,
uint32_t format, uint32_t flags);
int nft_event_footer_fprintf(FILE *fp, uint32_t format, uint32_t flags);
-void xfree(const void *ptr);
-
struct expr_ops;
struct nft_rule_expr {