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