X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Fmempool.c;h=f95e2beb0ffd46ef08f0bc5b227e419947a2737c;hp=19c0edfa6445f59eb7adc3c44814c9a87848394b;hb=66ecc207e203db5434610395cd04c40ae8727b58;hpb=1cfc78c91965df340cdde100ad6cb3ed50b28927 diff --git a/src/basic/mempool.c b/src/basic/mempool.c index 19c0edfa6..f95e2beb0 100644 --- a/src/basic/mempool.c +++ b/src/basic/mempool.c @@ -1,5 +1,3 @@ -/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ - /*** This file is part of systemd. @@ -20,8 +18,11 @@ along with systemd; If not, see . ***/ -#include "mempool.h" +#include +#include + #include "macro.h" +#include "mempool.h" #include "util.h" struct pool { @@ -90,7 +91,7 @@ void mempool_free_tile(struct mempool *mp, void *p) { #ifdef VALGRIND -// UNNEEDED void mempool_drop(struct mempool *mp) { +void mempool_drop(struct mempool *mp) { struct pool *p = mp->first_pool; while (p) { struct pool *n;