aboutsummaryrefslogtreecommitdiff
path: root/src/include/helpers.h
blob: 5d469090c0034a271c87e897a0bf27cf7fe78070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef HELPERS_H
#define HELPERS_H

#include <stdlib.h>

void die_lz(int code, const char *msg);

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);

void nothing(void *);
#endif