Only used internally in cache.c Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> --- include/cache.h | 1 - src/cache.c | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/cache.h b/include/cache.h index a892b7fcdcb9..087f9ba96848 100644 --- a/include/cache.h +++ b/include/cache.h @@ -56,7 +56,6 @@ int cache_init(struct netlink_ctx *ctx, unsigned int flags); int cache_update(struct nft_ctx *nft, unsigned int flags, struct list_head *msgs); void cache_release(struct nft_cache *cache); -struct nftnl_chain_list *chain_cache_dump(struct netlink_ctx *ctx, int *err); void chain_cache_add(struct chain *chain, struct table *table); struct chain *chain_cache_find(const struct table *table, const struct handle *handle); diff --git a/src/cache.c b/src/cache.c index c9e1f22a3291..f7187ee7237f 100644 --- a/src/cache.c +++ b/src/cache.c @@ -217,7 +217,8 @@ static int chain_cache_init(struct netlink_ctx *ctx, struct table *table, return 0; } -struct nftnl_chain_list *chain_cache_dump(struct netlink_ctx *ctx, int *err) +static struct nftnl_chain_list *chain_cache_dump(struct netlink_ctx *ctx, + int *err) { struct nftnl_chain_list *chain_list; -- 2.20.1