diff options
author | Jan Moskyto Matejka <mq@ucw.cz> | 2017-05-16 14:31:16 +0200 |
---|---|---|
committer | Jan Moskyto Matejka <mq@ucw.cz> | 2017-05-16 15:34:57 +0200 |
commit | 05d47bd53e71480f1b276bd895f1c25088201e48 (patch) | |
tree | 6d9c8169ed695d17c90972ae6dd163c45a3d82b1 /lib/mempool.c | |
parent | b880e3ffaea12c3231975157bc51b5f90a2f2433 (diff) |
Linpool: default allocation size
Diffstat (limited to 'lib/mempool.c')
-rw-r--r-- | lib/mempool.c | 2 |
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; |