shithub: riscv

ref: 7d108832528eb1ee85a445a562c00b5a8344d882
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);
}