1 2 3 4 5 6 7 8 9 10 11 12
#ifndef HELPERS_H #define HELPERS_H #include <stdlib.h> void die(const char *msg); void *safe_calloc(unsigned int i, size_t size); void *safe_realloc(void *x, size_t size); void alloc_zero(void *ptr, size_t size); #endif