1 #include <stdlib.h>
2 
3 void* malloc_with_check(size_t size);
4 void free_with_check(void *mem);
5 void* counting_realloc(void *ptr, size_t size);
6 void counting_free(void *ptr);
7 size_t get_alloc_count();
8