From 483050de7ceb60515541a7e83d07b8fdb7a2faf5 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Tue, 9 Mar 2021 11:36:03 +0100 Subject: 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 --- include/data_reg.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/data_reg.h') 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); -- cgit v1.2.3