summaryrefslogtreecommitdiff
path: root/lib/mempool.c
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-05-17 14:50:00 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-05-17 14:50:00 +0200
commitd19617f06b4526bccc2fc5e5e15c43c754b99a4d (patch)
treecf74bc8e3c56a5d755028c57b02c2baf0c5f0c94 /lib/mempool.c
parent144c10fad1ed6a2520abd1c43501ce00ea2699db (diff)
parent31874783c44dd59c355921908016f9b42d22ef02 (diff)
Merge remote-tracking branch 'origin/int-new' into int-new
Diffstat (limited to 'lib/mempool.c')
-rw-r--r--lib/mempool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mempool.c b/lib/mempool.c
index a8281041..3cf9c2d3 100644
--- a/lib/mempool.c
+++ b/lib/mempool.c
@@ -32,6 +32,8 @@ struct lp_chunk {
byte data[0];
};
+const int lp_chunk_size = sizeof(struct lp_chunk);
+
struct linpool {
resource r;
byte *ptr, *end;