diff options
author | Elizabeth Myers <elizabeth@interlinked.me> | 2018-04-03 03:31:56 -0500 |
---|---|---|
committer | Elizabeth Myers <elizabeth@interlinked.me> | 2018-04-03 03:31:56 -0500 |
commit | b26d8891927f7aedb0fc7e20d3a7e9a57e452599 (patch) | |
tree | 1bc681d590396bde4c281fd9f2c723686b5426c6 /libgcompat | |
parent | 081efd96833196da3a6bd889ac9c80b8e1c3ea17 (diff) | |
download | gcompat-b26d8891927f7aedb0fc7e20d3a7e9a57e452599.tar.gz gcompat-b26d8891927f7aedb0fc7e20d3a7e9a57e452599.tar.bz2 gcompat-b26d8891927f7aedb0fc7e20d3a7e9a57e452599.tar.xz gcompat-b26d8891927f7aedb0fc7e20d3a7e9a57e452599.zip |
malloc: add malloc_trim function
Diffstat (limited to 'libgcompat')
-rw-r--r-- | libgcompat/malloc.c | 6 |
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; +} |