summaryrefslogtreecommitdiffstats
path: root/src/basic/mempool.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-02-08 18:03:27 +0100
committerLennart Poettering <lennart@poettering.net>2023-02-17 14:59:54 +0100
commit9a0f0ef5576bd72c6908339df44bf382342266de (patch)
tree02be5a46cc4c9d9062d3406efdf4189187fe5763 /src/basic/mempool.h
parentdissect-image: Return mount point fd if requested (diff)
downloadsystemd-9a0f0ef5576bd72c6908339df44bf382342266de.tar.xz
systemd-9a0f0ef5576bd72c6908339df44bf382342266de.zip
hashmap: expose helper for releasing memory pools independently of valgrind
Let's clean this up and export this always, so that we can later call when we are under memory pressure.
Diffstat (limited to '')
-rw-r--r--src/basic/mempool.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/basic/mempool.h b/src/basic/mempool.h
index 539ccbdf06..80925cb95a 100644
--- a/src/basic/mempool.h
+++ b/src/basic/mempool.h
@@ -25,6 +25,4 @@ static struct mempool pool_name = { \
__attribute__((weak)) bool mempool_enabled(void);
-#if VALGRIND
void mempool_drop(struct mempool *mp);
-#endif