summaryrefslogtreecommitdiff
path: root/libgcompat
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-08 17:04:29 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-08 17:04:29 -0500
commit6aa0881069fb094ef289cba0b03dd94b9e09fe00 (patch)
tree2073d5d6921dc8588fa8a00618368bfefbfbf814 /libgcompat
parent6d13380e242a8b2e72460080070b263c54ce3d4d (diff)
downloadgcompat-6aa0881069fb094ef289cba0b03dd94b9e09fe00.tar.gz
gcompat-6aa0881069fb094ef289cba0b03dd94b9e09fe00.tar.bz2
gcompat-6aa0881069fb094ef289cba0b03dd94b9e09fe00.tar.xz
gcompat-6aa0881069fb094ef289cba0b03dd94b9e09fe00.zip
malloc: Add mtrace and muntrace stubs
Diffstat (limited to 'libgcompat')
-rw-r--r--libgcompat/malloc.c12
1 files changed, 12 insertions, 0 deletions
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;
+}