include: Remove redundant declaration of nftnl_gen_nlmsg_parse()
Phil Sutter
reviewerPATCH 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")
Signed-off-by Phil Sutter <[email protected]>
--- include/libnftnl/gen.h | 1 - 1 file changed, 1 deletion(-)
include/libnftnl/gen.h +0 -1
@@ -42,7 +42,6 @@ int nftnl_gen_snprintf(char *buf, size_t size, const struct nftnl_gen *gen, uintint 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
Quoted 2 lines · Phil Sutter
The duplicated declaration was there since the functions initial introduction as '
nft_gen_nlmsg_parse()'.
Applied, thanks.