chiark / gitweb /
Revert some uses of xsprintf
[elogind.git] / src / basic / mempool.c
index fd06481399b443ca21b3ec8d80d435046cb39585..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 {
@@ -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