Skip to contentSkip to conversation

include: Remove redundant declaration of nftnl_gen_nlmsg_parse()

PATCH Applied Phil Sutter 2 participants 2 messages May 13, 2019 – May 14, 2019 netfilter

lore
Share & tools
lore

Phil Sutter

author reviewer
#0 lore raw

PATCH 1/1 include: Remove redundant declaration of nftnl_gen_nlmsg_parse()

The duplicated declaration was there since the functions initial introduction as 'nft_gen_nlmsg_parse()'.

Fixes 2e66fb09d6936 ("src: add ruleset generation class")
---
 include/libnftnl/gen.h | 1 -
 1 file changed, 1 deletion(-)
include/libnftnl/gen.h +0 -1
index b55bdedb83597..c56a63ca2508b 100644
@@ -42,7 +42,6 @@ int nftnl_gen_snprintf(char *buf, size_t size, const struct nftnl_gen *gen, uint
 int nftnl_gen_fprintf(FILE *fp, const struct nftnl_gen *gen, uint32_t type, uint32_t flags);
 
 #define nftnl_gen_nlmsg_build_hdr	nftnl_nlmsg_build_hdr
-int nftnl_gen_nlmsg_parse(const struct nlmsghdr *nlh, struct nftnl_gen *gen);
 
 #ifdef __cplusplus
 } /* extern "C" */
Signature · 1 line
2.21.0
maintainer Applied
#1 lore raw
Quoted 2 lines · Phil Sutter

The duplicated declaration was there since the functions initial introduction as 'nft_gen_nlmsg_parse()'.

Applied, thanks.