1 #ifndef HOOK_ENABLE 2 #include <stdlib.h> 3 #ifdef USE_JEMALLOC 4 extern void* je_calloc(void* p, size_t newsize); 5 #endif 6 calloc(size_t m,size_t n)7 void *calloc(size_t m, size_t n) 8 { 9 #ifdef USE_JEMALLOC 10 return je_calloc(m, n); 11 #endif 12 return __libc_calloc(m, n); 13 } 14 #endif