mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd::allocator: Weaken the extern hook declarations.
This commit is contained in:
parent
8c0a6f0ba8
commit
f7d6a00acb
1 changed files with 3 additions and 3 deletions
|
@ -17,17 +17,17 @@
|
|||
namespace ircd::allocator
|
||||
{
|
||||
void *(*their_malloc_hook)(size_t, const void *);
|
||||
void *malloc_hook(size_t, const void *);
|
||||
[[gnu::weak]] 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 *);
|
||||
void *realloc_hook(void *, size_t, const void *);
|
||||
[[gnu::weak]] 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 *);
|
||||
void free_hook(void *, const void *);
|
||||
[[gnu::weak]] void free_hook(void *, const void *);
|
||||
static void install_free_hook();
|
||||
static void uninstall_free_hook();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue