summaryrefslogtreecommitdiffstats
path: root/pintos-progos/threads/malloc.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2012-03-26 12:54:45 +0200
committermanuel <manuel@mausz.at>2012-03-26 12:54:45 +0200
commitb5f0874cd96ee2a62aabc645b9626c2749cb6a01 (patch)
tree1262e4bbe0634de6650be130c36e0538240f4cbf /pintos-progos/threads/malloc.h
downloadprogos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.tar.gz
progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.tar.bz2
progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.zip
initial pintos checkin
Diffstat (limited to 'pintos-progos/threads/malloc.h')
-rw-r--r--pintos-progos/threads/malloc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/pintos-progos/threads/malloc.h b/pintos-progos/threads/malloc.h
new file mode 100644
index 0000000..bc55d36
--- /dev/null
+++ b/pintos-progos/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 */