@@ -106,7 +106,8 @@ unmap_free_area (struct heap *heap, struct heap_free_area *fa)
}
-void free (void *mem)
+void
+free (void *mem)
{
if (mem)
@@ -23,7 +23,8 @@
struct heap __malloc_heap = HEAP_INIT;
-void *malloc (size_t size)
+void *
+malloc (size_t size)
void *mem;
@@ -13,13 +13,13 @@
#include <stdlib.h>
#include <string.h>
-#include <sys/mman.h>
#include "malloc.h"
#include "heap.h"
-void *realloc (void *mem, size_t new_size)
+realloc (void *mem, size_t new_size)
if (! mem)
return malloc (new_size);