/* Written by Kris Maglione */ /* Public domain */ #include #include "util.h" void * erealloc(void *ptr, uint size) { void *ret = realloc(ptr, size); if(!ret) mfatal("realloc", size); return ret; }