Implement a proper block layer with partition support.
[pintos-anon] / src / threads / malloc.h
index 4a3bee7c512aa2c2c8f946d7a8e0090fc6888ee5..bc55d362b0c7276eb335b8d5d898c508db48675f 100644 (file)
@@ -1,12 +1,13 @@
-#ifndef HEADER_MALLOC_H
-#define HEADER_MALLOC_H
+#ifndef THREADS_MALLOC_H
+#define THREADS_MALLOC_H
 
-#include "lib/debug.h"
+#include <debug.h>
 #include <stddef.h>
 
 void malloc_init (void);
 void *malloc (size_t) __attribute__ ((malloc));
 void *calloc (size_t, size_t) __attribute__ ((malloc));
+void *realloc (void *, size_t);
 void free (void *);
 
-#endif /* malloc.h */
+#endif /* threads/malloc.h */