shithub: scc

ref: 041d2d96655de6afaac6b20437df8897b03f6c92
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;
}