1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
void *test_malloc(size_t);
void *test_calloc(size_t, size_t);
void *test_realloc(void *, size_t);
char *test_strdup(const char *);
void test_free(void *);
#define malloc test_malloc
#define calloc test_calloc
#define realloc test_realloc
#define strdup test_strdup
#define free test_free
: asapien/signet