summaryrefslogtreecommitdiff
path: root/include/malloc.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-09-19 20:55:05 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-09-19 20:55:05 -0400
commit2c07b94e94115d89aec51cd6fd0600ce73fbb675 (patch)
treeefca127a29d73451e42898ce4fb016fd6e9e4c83 /include/malloc.h
parent60f8369a898a121691c1e29ea5235407ac282f49 (diff)
parentf94074b6027d1efe067fd972127eb7730cbef2e0 (diff)
Merge branch 'master' into berry_fix_program
Diffstat (limited to 'include/malloc.h')
-rw-r--r--include/malloc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/malloc.h b/include/malloc.h
index bd870ede3..b3216b05c 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -1,6 +1,10 @@
#ifndef GUARD_MALLOC_H
#define GUARD_MALLOC_H
+#define malloc Alloc
+#define calloc AllocZeroed
+#define free Free
+
void *Alloc(u32 size);
void *AllocZeroed(u32 size);
void Free(void *pointer);