Merge "<malloc.h>: warn on unused results for malloc_usable_size()." into main am: 988c807ff8

Original change: https://android-review.googlesource.com/c/platform/bionic/+/3113839

Change-Id: I00b69a96b5376847a255dbcedd59654936bab006
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Elliott Hughes 2024-06-05 16:08:44 +00:00 committed by Automerger Merge Worker
commit 7104dd9d55

View file

@ -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. */ \