diff options
author | Jeremy Sowden <[email protected]> | 2019-10-03 20:56:03 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2019-10-07 23:57:56 +0200 |
commit | 94177f6e11c74b6ca3bcf7f65d3d74f00bbd6a8c (patch) | |
tree | bcaae1ca734ad36a3ce8349b05a4ed845f0b22d5 /tools/perf/scripts/python/sched-migration.py | |
parent | 8dea982a88dce157825d054fdbeb7fcf378908ba (diff) |
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 <[email protected]>
Acked-by: Jozsef Kadlecsik <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions