1 /* 2 * this file (combined.c) is malloc.c, free.c, and realloc.c, combined into 3 * one file, because the malloc.o in libc defined malloc, realloc, and free, 4 * and libc sometimes invokes realloc, which can greatly confuse things 5 * in the linking process... 6 * 7 * $Id: combined.c,v 1.2 2021/03/03 21:46:43 christos Exp $ 8 */ 9 10 #include "malloc.c" 11 #include "free.c" 12 #include "realloc.c" 13 14 /* jemalloc defines these */ 15 void _malloc_prefork(void); 16 void _malloc_postfork(void); 17 void _malloc_postfork_child(void); _malloc_prefork(void)18void _malloc_prefork(void) {} _malloc_postfork(void)19void _malloc_postfork(void) {} _malloc_postfork_child(void)20void _malloc_postfork_child(void) {} 21