summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-13 12:28:28 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-13 12:28:28 +0100
commitdd422d1e5b6a62bc634ae22d0627f70d4900814b (patch)
tree6772b1bb6db5cfc788339f4fe397c1ec3fd305e0 /src/basic
parent1d9b8e58340e0fdc77158f04c36f5e6736754259 (diff)
tree-wide: make more global variables static
let's export as little as we can
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/mempool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/mempool.h b/src/basic/mempool.h
index fea7841bcf..0618b8dd22 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, \
}