X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Fmempool.h;h=0618b8dd223c8b7de0fcb2b88545aaa7844b7b69;hp=fea7841bcff8ebe0fd097f6869bfaf59088b39db;hb=0835742b579039bb13784c8de7b6d2a39c5f0a93;hpb=076d998b73bf53e6652ea3ae4bed169e57423741 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, \ }