plan9port/src/lib9/malloc.c

12 lines
123 B
C
Raw Normal View History

#include <u.h>
#define NOPLAN9DEFINES
#include <libc.h>
void*
p9malloc(ulong n)
{
if(n == 0)
n++;
return malloc(n);
}