summaryrefslogtreecommitdiff
path: root/src/wrap.c
blob: f7cd2805a2ef67d97797cf8047cbe10c9529f7f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "mapalloc.h"

void *malloc(size_t n)
{
	return MA_malloc(n);
}

void *calloc(size_t n, size_t e)
{
	return MA_calloc(n, e);
}

void *realloc(void *p, size_t n)
{
	return MA_realloc(p, n);
}

void free(void *p)
{
	MA_free(p);
}