summaryrefslogtreecommitdiff
path: root/tests/restore.t.list1
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2019-10-03 20:56:03 +0100
committerJozsef Kadlecsik <kadlec@netfilter.org>2019-10-07 21:49:54 +0200
commita7cd6535667a6816316cefc6df7ebad45e4afd65 (patch)
tree39d695f151ec30648042cbd957c220d8d47d0bf1 /tests/restore.t.list1
parent4392230c2eaaa0c62e995f1ea9c9c3f622dd4845 (diff)
downloadipset-a7cd6535667a6816316cefc6df7ebad45e4afd65.tar.gz
netfilter: ipset: move ip_set_comment functions from ip_set.h to ip_set_core.c.
Most of the functions are only called from within ip_set_core.c. The exception is ip_set_init_comment. However, this is too complex to be a good candidate for a static inline function. Move it to ip_set_core.c, change its linkage to extern and export it, leaving a declaration in ip_set.h. ip_set_comment_free is only used as an extension destructor, so change its prototype to match and drop cast. Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
Diffstat (limited to 'tests/restore.t.list1')
0 files changed, 0 insertions, 0 deletions