summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/cache.h1
-rw-r--r--src/cache.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/include/cache.h b/include/cache.h
index a892b7fc..087f9ba9 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 c9e1f22a..f7187ee7 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;