aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/malloc.c
blob: b75d2f07f5d7cbfb7a3f170591cfa14822729b59 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <u.h>
#define NOPLAN9DEFINES
#include <libc.h>

void*
p9malloc(ulong n)
{
	if(n == 0)
		n++;
	return malloc(n);
}