shithub: drawterm-fdroid

ref: 39347ab47dab6c556bb37ced7526bfcc8de4cf9b
dir: /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);
}