summaryrefslogtreecommitdiff
path: root/src/malloc
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/malloc
parentef8d45d6c9036b23087461550e95683804ed0084 (diff)
downloadmusl-239c15565fe174a77cdd0a8226863a1da1880857.tar.gz
musl-239c15565fe174a77cdd0a8226863a1da1880857.tar.bz2
musl-239c15565fe174a77cdd0a8226863a1da1880857.tar.xz
musl-239c15565fe174a77cdd0a8226863a1da1880857.zip
hide dependency-triggering pointer object in malloc_usable_size.c
Diffstat (limited to 'src/malloc')
-rw-r--r--src/malloc/malloc_usable_size.c4
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)
{