Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-09-13 03:35:01 +0300
committerCampbell Barton <campbell@blender.org>2022-09-13 03:41:36 +0300
commitebcf004ecfa659b27a4f63260ead10495985374b (patch)
tree880c10be1c8f128f91731821abb1ebc0215856a5
parent2c731751009a736d9cf6ee800de7a69fb55194d5 (diff)
Cleanup: quiet missing-variable-declarations warning
-rw-r--r--intern/libc_compat/libc_compat.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/libc_compat/libc_compat.c b/intern/libc_compat/libc_compat.c
index 626490aa8e2..97e3f518c58 100644
--- a/intern/libc_compat/libc_compat.c
+++ b/intern/libc_compat/libc_compat.c
@@ -118,6 +118,11 @@ float __powf_finite(float x, float y)
# if __GLIBC_PREREQ(2, 34)
+extern void *(*__malloc_hook)(size_t __size, const void *);
+extern void *(*__realloc_hook)(void *__ptr, size_t __size, const void *);
+extern void *(*__memalign_hook)(size_t __alignment, size_t __size, const void *);
+extern void (*__free_hook)(void *__ptr, const void *);
+
void *(*__malloc_hook)(size_t __size, const void *) = NULL;
void *(*__realloc_hook)(void *__ptr, size_t __size, const void *) = NULL;
void *(*__memalign_hook)(size_t __alignment, size_t __size, const void *) = NULL;