]> git.ipfire.org Git - thirdparty/libnftnl.git/commitdiff
include: Remove redundant declaration of nftnl_gen_nlmsg_parse()
authorPhil Sutter <phil@nwl.cc>
Mon, 13 May 2019 17:11:59 +0000 (19:11 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 14 May 2019 11:57:25 +0000 (13:57 +0200)
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@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/libnftnl/gen.h

index b55bdedb835971d5f9ccf511771bd2818e86ea42..c56a63ca2508bae5766f86fb64f99d9da563d722 100644 (file)
@@ -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" */