chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d5ffe1
)
tree-wide: make more global variables static
author
Lennart Poettering
<lennart@poettering.net>
Sat, 13 Feb 2016 11:28:28 +0000
(12:28 +0100)
committer
Sven Eden
<yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:57 +0000
(10:12 +0200)
let's export as little as we can
src/basic/mempool.h
patch
|
blob
|
history
diff --git
a/src/basic/mempool.h
b/src/basic/mempool.h
index fea7841bcff8ebe0fd097f6869bfaf59088b39db..0618b8dd223c8b7de0fcb2b88545aaa7844b7b69 100644
(file)
--- 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 = { \
+st
atic st
ruct mempool pool_name = { \
.tile_size = sizeof(tile_type), \
.at_least = alloc_at_least, \
}