diff options
| author | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-09-25 12:08:25 +0200 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-09-25 12:15:34 +0200 |
| commit | 1188665beb8fa7d4b9a568ec37b7be9af751a976 (patch) | |
| tree | 57cb9ce9d0e8d543d37e56a9a4817328cd8e2a0e /include | |
| parent | 282aba753f7bd3b8c02a96e3752798c4e7651f3b (diff) | |
src: remove unused parameter from build functions
struct nfnl_subsys_handle is never used, remove it. No API updates,
this updates internal functions only.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/internal/prototypes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/internal/prototypes.h b/include/internal/prototypes.h index 82a3f29..36063a2 100644 --- a/include/internal/prototypes.h +++ b/include/internal/prototypes.h @@ -4,7 +4,7 @@ /* * conntrack internal prototypes */ -int __build_conntrack(struct nfnl_subsys_handle *ssh, struct nfnlhdr *req, size_t size, uint16_t type, uint16_t flags, const struct nf_conntrack *ct); +int __build_conntrack(struct nfnlhdr *req, size_t size, uint16_t type, uint16_t flags, const struct nf_conntrack *ct); void __build_tuple(struct nfnlhdr *req, size_t size, const struct __nfct_tuple *t, const int type); int __snprintf_conntrack(char *buf, unsigned int len, const struct nf_conntrack *ct, unsigned int type, unsigned int msg_output, unsigned int flags, struct nfct_labelmap *); int __snprintf_address(char *buf, unsigned int len, const struct __nfct_tuple *tuple, const char *src_tag, const char *dst_tag); @@ -44,7 +44,7 @@ int nfct_parse_tuple(const struct nlattr *attr, struct __nfct_tuple *tuple, int /* * expectation internal prototypes */ -int __build_expect(struct nfnl_subsys_handle *ssh, struct nfnlhdr *req, size_t size, uint16_t type, uint16_t flags, const struct nf_expect *exp); +int __build_expect(struct nfnlhdr *req, size_t size, uint16_t type, uint16_t flags, const struct nf_expect *exp); int __expect_callback(struct nlmsghdr *nlh, struct nfattr *nfa[], void *data); int __cmp_expect(const struct nf_expect *exp1, const struct nf_expect *exp2, unsigned int flags); int __snprintf_expect(char *buf, unsigned int len, const struct nf_expect *exp, unsigned int type, unsigned int msg_output, unsigned int flags); |
