aboutsummaryrefslogtreecommitdiff
path: root/include/helpers.h
blob: c685e09855c5f772b87c0bc172eb6e53f694da92 (plain)
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