git: 9front

ref: ac4840116ef15e2fc65d0e68f7e16d3a8a1aa2f8
dir: /sys/src/cmd/unix/drawterm/kern/smalloc.c/

View raw version
#include "u.h"
#include "lib.h"
#include "dat.h"
#include "fns.h"
#include "error.h"

void*
smalloc(ulong n)
{
	return mallocz(n, 1);
}

void*
malloc(ulong n)
{
	return mallocz(n, 1);
}