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 <phil@xxxxxx> --- include/libnftnl/gen.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/libnftnl/gen.h b/include/libnftnl/gen.h index b55bdedb83597..c56a63ca2508b 100644 --- a/include/libnftnl/gen.h +++ b/include/libnftnl/gen.h @@ -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" */ -- 2.21.0