set: export nftnl_set_clone
PATCH 1/1 set: export nftnl_set_clone
This is present in libnftnl/set.h, so this has to either be exported or removed from the header.
Signed-off-by chayleaf <[email protected]>
--- src/libnftnl.map | 1 + src/set.c | 1 + 2 files changed, 2 insertions(+)
src/libnftnl.map +1 -0
@@ -129,6 +129,7 @@ global: nftnl_set_get_str; nftnl_set_get_u32; nftnl_set_get_u64; + nftnl_set_clone; nftnl_set_nlmsg_build_payload; nftnl_set_nlmsg_parse; nftnl_set_parse;
src/set.c +1 -0
@@ -352,6 +352,7 @@ uint64_t nftnl_set_get_u64(const struct nftnl_set *s, uint16_t attr)return val ? *val :0 ; } +EXPORT_SYMBOL (nftnl_set_clone);struct nftnl_set *nftnl_set_clone (const struct nftnl_set *set) {struct nftnl_set *newset;
Signature · 1 line
2.44.1
Florian Westphal
maintainerQuoted 2 lines · chayleaf
This is present in
libnftnl/set.h, so this has to either be exported or removed from the header.
Please remove both nftnl_set_clone and nftnl_set_elem_clone, these are not used anymore, its dead code.