summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgcompat/malloc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libgcompat/malloc.c b/libgcompat/malloc.c
index e0b5851..6e519f4 100644
--- a/libgcompat/malloc.c
+++ b/libgcompat/malloc.c
@@ -85,3 +85,9 @@ struct mallinfo mallinfo(void)
memset(&info, 0, sizeof(info));
return info;
}
+
+int malloc_trim(size_t pad)
+{
+ /* This concept doesn't really map to musl's malloc */
+ return 0;
+}