shithub: riscv

ref: a04fd342727c329584a9f443092caf21e3884bdf
dir: /sys/src/libaml/amlalloc.c/

View raw version
#include <u.h>
#include <libc.h>
#include <aml.h>

void*
amlalloc(int n)
{
	return mallocz(n, 1);
}

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