summaryrefslogtreecommitdiff
path: root/tools/sysinc/malloc.h
diff options
context:
space:
mode:
authormagh <magh@maghmogh.com>2023-03-06 18:44:55 -0600
committermagh <magh@maghmogh.com>2023-03-06 18:44:55 -0600
commite80d9d8871b325a04b18f90a9ea4bb7fd148fb25 (patch)
tree79dbdb8506b7ff1e92549188d1b94cfc0b3503ae /tools/sysinc/malloc.h
add m1n1HEADmaster
Diffstat (limited to 'tools/sysinc/malloc.h')
-rw-r--r--tools/sysinc/malloc.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/sysinc/malloc.h b/tools/sysinc/malloc.h
new file mode 100644
index 0000000..945bcff
--- /dev/null
+++ b/tools/sysinc/malloc.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: MIT */
+
+#ifndef MALLOC_H
+#define MALLOC_H
+
+#include <stddef.h>
+
+void *malloc(size_t);
+void free(void *);
+void *calloc(size_t, size_t);
+void *realloc(void *, size_t);
+void *realloc_in_place(void *, size_t);
+void *memalign(size_t, size_t);
+int posix_memalign(void **, size_t, size_t);
+
+#endif