libc/mallocdebug: Make arch-generic

This commit is contained in:
Arun Thomas 2012-08-10 22:41:28 +02:00
parent caa798bbe1
commit fbd456ee2b

View file

@ -5,6 +5,7 @@
#include <assert.h>
#include <machine/vm.h>
#include <machine/vmparam.h>
#include <minix/minlib.h>
#include <stdlib.h>
#include <string.h>
@ -24,8 +25,6 @@ static int reenter;
#define LOG(args)
#endif
#define PAGE_SIZE I386_PAGE_SIZE
struct block {
size_t size;
unsigned magic;