chiark / gitweb /
basic/strv: use SWAP_TWO() macro (#3602)
[elogind.git] / src / basic / mempool.c
index 4916361e18ded1ebeaef485fc24024313f0f7c95..f95e2beb0ffd46ef08f0bc5b227e419947a2737c 100644 (file)
@@ -1,5 +1,3 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
 /***
   This file is part of systemd.
 
@@ -20,6 +18,9 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
+#include <stdint.h>
+#include <stdlib.h>
+
 #include "macro.h"
 #include "mempool.h"
 #include "util.h"
@@ -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