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=fd06481399b443ca21b3ec8d80d435046cb39585;hb=2a4a438b7c7306da5f698d2247e646263f3c45c0;hpb=f88c58a33748ad36866544b45e4fe06c506d4c31 diff --git a/src/basic/mempool.c b/src/basic/mempool.c index fd0648139..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 { @@ -88,8 +89,6 @@ void mempool_free_tile(struct mempool *mp, void *p) { mp->freelist = p; } -/// UNNEEDED by elogind -#if 0 #ifdef VALGRIND void mempool_drop(struct mempool *mp) { @@ -103,4 +102,3 @@ void mempool_drop(struct mempool *mp) { } #endif -#endif // 0