Revert hrev43457.

This reverts commit 82929f8a76.
This commit is contained in:
Michael Lotz
2011-12-10 21:03:13 +01:00
parent 8eff10a8bf
commit 33f0ed7a03
-10
View File
@@ -9,7 +9,6 @@
#include <syscalls.h>
#include <util/kernel_cpp.h>
#include <malloc.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -319,15 +318,6 @@ restart:
}
void *
memalign(size_t alignment, size_t size)
{
// pseudo alignment by just upping the size
size = (size + alignment - 1) & ~alignment;
return malloc(size);
}
void
free(void *allocated)
{