summaryrefslogtreecommitdiff
path: root/lib/libc/Symbols.list
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2018-11-21 06:57:05 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2018-11-21 06:57:05 +0000
commitce94373d770a9aea0a5dc4a7cf14c167ab60874e (patch)
treeae4b5e7ce0cf043db5627e3ec62002539a1d0ed1 /lib/libc/Symbols.list
parent47d4eedcfd2d0e3da3ab4d691658eba0db6108bc (diff)
Introducing malloc_usable_size() was a mistake. While some other
libs have it, it is a function that is considered harmful, so: Delete malloc_usable_size(). It is a function that blurs the line between malloc managed memory and application managed memory and exposes some of the internal workings of malloc. If an application relies on that, it is likely to break using another implementation of malloc. If you want usable size x, just allocate x bytes. ok deraadt@ and other devs
Diffstat (limited to 'lib/libc/Symbols.list')
-rw-r--r--lib/libc/Symbols.list1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libc/Symbols.list b/lib/libc/Symbols.list
index 8210ebcda20..15c4fff6c2b 100644
--- a/lib/libc/Symbols.list
+++ b/lib/libc/Symbols.list
@@ -1527,7 +1527,6 @@ lldiv
lsearch
malloc
malloc_options
-malloc_usable_size
_malloc_init
mergesort
optarg