summaryrefslogtreecommitdiff
path: root/src/basic/mempool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/mempool.h')
-rw-r--r--src/basic/mempool.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/basic/mempool.h b/src/basic/mempool.h
index 42f473bee1..0618b8dd22 100644
--- a/src/basic/mempool.h
+++ b/src/basic/mempool.h
@@ -1,5 +1,3 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
#pragma once
/***
@@ -38,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, \
}