xmalloc.c - scc - simple c99 compiler (HTM) git clone git://git.simple-cc.org/scc (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules (DIR) README (DIR) LICENSE --- xmalloc.c (144B) --- 1 #include <stdlib.h> 2 #include <scc/scc.h> 3 4 void * 5 xmalloc(size_t size) 6 { 7 void *p = malloc(size); 8 9 if (!p) 10 die("out of memory"); 11 return p; 12 }