Merge "<malloc.h>: warn on unused results for malloc_usable_size()." into main am: 988c807ff8
am: 7104dd9d55
Original change: https://android-review.googlesource.com/c/platform/bionic/+/3113839 Change-Id: I246fd7b9c0b8804b4c46c493061ded1e4b945dea Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
6405f248e2
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ void* _Nullable memalign(size_t __alignment, size_t __byte_count) __mallocfunc _
|
|||
* [malloc_usable_size(3)](http://man7.org/linux/man-pages/man3/malloc_usable_size.3.html)
|
||||
* returns the actual size of the given heap block.
|
||||
*/
|
||||
size_t malloc_usable_size(const void* _Nullable __ptr);
|
||||
size_t malloc_usable_size(const void* _Nullable __ptr) __wur;
|
||||
|
||||
#define __MALLINFO_BODY \
|
||||
/** Total number of non-mmapped bytes currently allocated from OS. */ \
|
||||
|
|
Loading…
Reference in a new issue