summaryrefslogtreecommitdiffstats
path: root/threads/malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'threads/malloc.h')
-rw-r--r--threads/malloc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/threads/malloc.h b/threads/malloc.h
new file mode 100644
index 0000000..bc55d36
--- /dev/null
+++ b/threads/malloc.h
@@ -0,0 +1,13 @@
1#ifndef THREADS_MALLOC_H
2#define THREADS_MALLOC_H
3
4#include <debug.h>
5#include <stddef.h>
6
7void malloc_init (void);
8void *malloc (size_t) __attribute__ ((malloc));
9void *calloc (size_t, size_t) __attribute__ ((malloc));
10void *realloc (void *, size_t);
11void free (void *);
12
13#endif /* threads/malloc.h */