path: root/include/data_reg.h
diff options
authorPhil Sutter <>2021-03-09 11:36:03 +0100
committerPhil Sutter <>2021-03-15 12:23:15 +0100
commit483050de7ceb60515541a7e83d07b8fdb7a2faf5 (patch)
tree66a2b7eb17e924686faa756ddc4b06fa6aa351b3 /include/data_reg.h
parentf4ad4d3879cead150e86c279ac8e4770e4b167b1 (diff)
expr/data_reg: Drop output_format parameter
The function nftnl_data_reg_snprintf is exclusively called with NFTNL_OUTPUT_DEFAULT as parameter, others are not supported - just drop it. Signed-off-by: Phil Sutter <>
Diffstat (limited to 'include/data_reg.h')
1 files changed, 1 insertions, 2 deletions
diff --git a/include/data_reg.h b/include/data_reg.h
index 0d6b778..6d2dc66 100644
--- a/include/data_reg.h
+++ b/include/data_reg.h
@@ -31,8 +31,7 @@ union nftnl_data_reg {
int nftnl_data_reg_snprintf(char *buf, size_t size,
const union nftnl_data_reg *reg,
- uint32_t output_format, uint32_t flags,
- int reg_type);
+ uint32_t flags, int reg_type);
struct nlattr;
int nftnl_parse_data(union nftnl_data_reg *data, struct nlattr *attr, int *type);