From 4a4530ceedb7f9c741134d2fbabc7d189c6e6d1b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 13 Feb 2016 12:28:28 +0100 Subject: [PATCH] tree-wide: make more global variables static let's export as little as we can --- src/basic/mempool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/mempool.h b/src/basic/mempool.h index fea7841bc..0618b8dd2 100644 --- a/src/basic/mempool.h +++ b/src/basic/mempool.h @@ -36,7 +36,7 @@ void* mempool_alloc0_tile(struct mempool *mp); void mempool_free_tile(struct mempool *mp, void *p); #define DEFINE_MEMPOOL(pool_name, tile_type, alloc_at_least) \ -struct mempool pool_name = { \ +static struct mempool pool_name = { \ .tile_size = sizeof(tile_type), \ .at_least = alloc_at_least, \ } -- 2.30.2