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:
parent
4bef7dca7b
commit
4db99113e1
1 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue