diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-04-08 17:04:29 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-04-08 17:04:29 -0500 |
commit | 6aa0881069fb094ef289cba0b03dd94b9e09fe00 (patch) | |
tree | 2073d5d6921dc8588fa8a00618368bfefbfbf814 | |
parent | 6d13380e242a8b2e72460080070b263c54ce3d4d (diff) | |
download | gcompat-6aa0881069fb094ef289cba0b03dd94b9e09fe00.tar.gz gcompat-6aa0881069fb094ef289cba0b03dd94b9e09fe00.tar.bz2 gcompat-6aa0881069fb094ef289cba0b03dd94b9e09fe00.tar.xz gcompat-6aa0881069fb094ef289cba0b03dd94b9e09fe00.zip |
malloc: Add mtrace and muntrace stubs
-rw-r--r-- | CHANGELOG.rst | 7 | ||||
-rw-r--r-- | libgcompat/malloc.c | 12 |
2 files changed, 18 insertions, 1 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c494a38..fbdb762 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,7 +5,7 @@ * **A. Wilcox**, documentation writer * **Contributors**, code :Copyright: - © 2016-2018 Adélie Linux and contributors. NCSA open source licence. + © 2016-2019 Adélie Linux and contributors. NCSA open source licence. 0.4.0 (201?-??-??) @@ -17,6 +17,11 @@ Build system * Allow building against libobstack. * Fix compatibility with Linux 4.17 and newer. +malloc +------ + +* Add mtrace and muntrace. + pthread ------- diff --git a/libgcompat/malloc.c b/libgcompat/malloc.c index 6e519f4..6c27f35 100644 --- a/libgcompat/malloc.c +++ b/libgcompat/malloc.c @@ -91,3 +91,15 @@ int malloc_trim(size_t pad) /* This concept doesn't really map to musl's malloc */ return 0; } + +void mtrace(void) +{ + /* Not implemented on purpose. */ + return; +} + +void muntrace(void) +{ + /* Not implemented on purpose. */ + return; +} |