summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-06-04 23:14:48 +0000
committerElliott Hughes <enh@google.com>2014-06-04 23:14:48 +0000
commit67c437b2315a0b01ca4031192879f8eba966b1a7 (patch)
treeba4957c763cde5450457bcd811f6dd8223f8e4a5
parent6403cc48707b67b3400bdaf720f3e4777a1b48de (diff)
downloadbionic-67c437b2315a0b01ca4031192879f8eba966b1a7.zip
bionic-67c437b2315a0b01ca4031192879f8eba966b1a7.tar.gz
bionic-67c437b2315a0b01ca4031192879f8eba966b1a7.tar.bz2
Revert "Temporarily expose dlmalloc_usable_size."
This reverts commit 6403cc48707b67b3400bdaf720f3e4777a1b48de. Change-Id: Id1ce4088be1e6c83271c6317eb3e5f7fc11c7b95
-rw-r--r--libc/bionic/dlmalloc.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/libc/bionic/dlmalloc.h b/libc/bionic/dlmalloc.h
index 482fe0e..e065687 100644
--- a/libc/bionic/dlmalloc.h
+++ b/libc/bionic/dlmalloc.h
@@ -32,15 +32,10 @@
#define USE_SPIN_LOCKS 0
#define DEFAULT_MMAP_THRESHOLD (64U * 1024U)
-__BEGIN_DECLS
-
/* Export two symbols used by the VM. */
+__BEGIN_DECLS
int dlmalloc_trim(size_t) __LIBC_ABI_PUBLIC__;
void dlmalloc_inspect_all(void (*handler)(void*, void*, size_t, void*), void*) __LIBC_ABI_PUBLIC__;
-
-/* NVIDIA's libglcore.so has a reference to dlmalloc_usable_size. TODO: remove this. */
-size_t dlmalloc_usable_size(const void*) __LIBC_ABI_PUBLIC__;
-
__END_DECLS
/* Include the proper definitions. */