From 4db99113e17f28557b8dcdaf5b98bef94d94197a Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 21 Feb 2020 11:18:01 -0800 Subject: [PATCH] ircd::allocator: Fix linkage of hook declaration. --- ircd/allocator_gnu.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ircd/allocator_gnu.cc b/ircd/allocator_gnu.cc index 856c2e43a..aa1bdb370 100644 --- a/ircd/allocator_gnu.cc +++ b/ircd/allocator_gnu.cc @@ -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(); }