0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-12 13:01:07 +01:00

ircd::allocator: Fix linkage of hook declaration.

This commit is contained in:
Jason Volk 2020-02-21 11:18:01 -08:00
parent 4bef7dca7b
commit 4db99113e1

View file

@ -17,17 +17,17 @@
namespace ircd::allocator
{
void *(*their_malloc_hook)(size_t, const void *);
static void *malloc_hook(size_t, const void *);
void *malloc_hook(size_t, const void *);
static void install_malloc_hook();
static void uninstall_malloc_hook();
void *(*their_realloc_hook)(void *, size_t, const void *);
static void *realloc_hook(void *, size_t, const void *);
void *realloc_hook(void *, size_t, const void *);
static void install_realloc_hook();
static void uninstall_realloc_hook();
void (*their_free_hook)(void *, const void *);
static void free_hook(void *, const void *);
void free_hook(void *, const void *);
static void install_free_hook();
static void uninstall_free_hook();
}