diff options
author | Dan Albert <danalbert@google.com> | 2014-06-12 10:55:13 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-06-13 15:35:05 -0700 |
commit | 5ee320dd35fafc11eaf90c62198e08c6670e35b4 (patch) | |
tree | c17c2b67e2f12161e67f9b337c9cdc11bd8eab5f /libc/include/malloc.h | |
parent | 0f690d9eda1893e66223138d2b930eb3e0164820 (diff) | |
download | android_bionic-5ee320dd35fafc11eaf90c62198e08c6670e35b4.tar.gz android_bionic-5ee320dd35fafc11eaf90c62198e08c6670e35b4.tar.bz2 android_bionic-5ee320dd35fafc11eaf90c62198e08c6670e35b4.zip |
Hides valloc(3)/pvalloc(3) on LP64.
These were removed from POSIX 2004. Hides the header declarations for all
targets, and hides the symbols for LP64.
Bug: 13935372
Change-Id: Id592f67e9b7051517a05f536e1373b30162e669c
Diffstat (limited to 'libc/include/malloc.h')
-rw-r--r-- | libc/include/malloc.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libc/include/malloc.h b/libc/include/malloc.h index 9a4e32472..e6ea27606 100644 --- a/libc/include/malloc.h +++ b/libc/include/malloc.h @@ -35,9 +35,6 @@ extern void free(void* p); extern void* memalign(size_t alignment, size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(2))); extern size_t malloc_usable_size(const void* p); -extern void* valloc(size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(1))); -extern void* pvalloc(size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(1))); - #ifndef STRUCT_MALLINFO_DECLARED #define STRUCT_MALLINFO_DECLARED 1 struct mallinfo { |