tree-wide: make more global variables static

let's export as little as we can
This commit is contained in:
Lennart Poettering
2016-02-13 12:28:28 +01:00
parent 1d9b8e5834
commit dd422d1e5b
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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, \
}