musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018年09月11日 15:08:08 -0400
committerRich Felker <dalias@aerifal.cx>2018年09月12日 14:34:36 -0400
commit239c15565fe174a77cdd0a8226863a1da1880857 (patch)
treec023ca5ca8ccc372b9c1d3470dc5dd807737f686 /src
parentef8d45d6c9036b23087461550e95683804ed0084 (diff)
downloadmusl-239c15565fe174a77cdd0a8226863a1da1880857.tar.gz
hide dependency-triggering pointer object in malloc_usable_size.c
Diffstat (limited to 'src')
-rw-r--r--src/malloc/malloc_usable_size.c 4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/malloc/malloc_usable_size.c b/src/malloc/malloc_usable_size.c
index 7a8ed6c4..672b518a 100644
--- a/src/malloc/malloc_usable_size.c
+++ b/src/malloc/malloc_usable_size.c
@@ -1,7 +1,7 @@
#include <malloc.h>
#include "malloc_impl.h"
-
-void *(*const __realloc_dep)(void *, size_t) = realloc;
+
+hidden void *(*const __realloc_dep)(void *, size_t) = realloc;
size_t malloc_usable_size(void *p)
{
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月04日 06:34:17 +0000

AltStyle によって変換されたページ (->オリジナル) /