]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/jemalloc/src/hooks.c
MFV r337216: 7263 deeply nested nvlist can overflow stack
[FreeBSD/FreeBSD.git] / contrib / jemalloc / src / hooks.c
1 #include "jemalloc/internal/jemalloc_preamble.h"
2
3 /*
4  * The hooks are a little bit screwy -- they're not genuinely exported in the
5  * sense that we want them available to end-users, but we do want them visible
6  * from outside the generated library, so that we can use them in test code.
7  */
8 JEMALLOC_EXPORT
9 void (*hooks_arena_new_hook)() = NULL;
10
11 JEMALLOC_EXPORT
12 void (*hooks_libc_hook)() = NULL;