Cleanup: quiet missing-variable-declarations warning

This commit is contained in:
Campbell Barton 2022-09-13 10:35:01 +10:00 committed by Philipp Oeser
parent bf6a9d705f
commit ec2938c71a
Notes: blender-bot 2023-02-14 04:46:12 +01:00
Referenced by issue #100749, Blender LTS: Maintenance Task 3.3
1 changed files with 5 additions and 0 deletions

View File

@ -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;