shithub: scc

ref: 3316919fa6b703a5514a3817b8f22cde27ccf569
dir: /src/libscc/xmalloc.c/

View raw version
#include <stdlib.h>
#include <scc/scc.h>

void *
xmalloc(size_t size)
{
	void *p = malloc(size);

	if (!p)
		die("out of memory");
	return p;
}