summaryrefslogtreecommitdiff
path: root/sys/src/cmd/unix/drawterm/kern/smalloc.c
blob: 314f3c850d6f06e4476aa6b2b4eecc80998b611d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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);
}