chiark / gitweb /
Prep v221: Some more cleanup and a few fixes
[elogind.git] / src / basic / mempool.c
index 19c0edfa6445f59eb7adc3c44814c9a87848394b..fd06481399b443ca21b3ec8d80d435046cb39585 100644 (file)
@@ -88,9 +88,11 @@ void mempool_free_tile(struct mempool *mp, void *p) {
         mp->freelist = p;
 }
 
+/// UNNEEDED by elogind
+#if 0
 #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;
@@ -101,3 +103,4 @@ void mempool_free_tile(struct mempool *mp, void *p) {
 }
 
 #endif
+#endif // 0