diff options
author | DJ Delorie <dj@redhat.com> | 2020-09-01 16:17:25 -0400 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2020-09-17 18:49:30 -0400 |
commit | cdf645427d176197b82f44308a5e131d69fb53ad (patch) | |
tree | d591da3901136905771fdf4273f4560868ab9a4d /malloc/malloc.c | |
parent | d38e1bbda0be2d184f0496001cfeab00216fe01c (diff) | |
download | glibc-cdf645427d176197b82f44308a5e131d69fb53ad.tar glibc-cdf645427d176197b82f44308a5e131d69fb53ad.tar.gz glibc-cdf645427d176197b82f44308a5e131d69fb53ad.tar.bz2 glibc-cdf645427d176197b82f44308a5e131d69fb53ad.zip |
Update mallinfo2 ABI, and test
This patch adds the ABI-related bits to reflect the new mallinfo2
function, and adds a test case to verify basic functionality.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r-- | malloc/malloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c index 560fee2c31..cd9933b4e5 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -639,6 +639,7 @@ libc_hidden_proto (__libc_mallopt) thus be inaccurate. */ struct mallinfo2 __libc_mallinfo2(void); +libc_hidden_proto (__libc_mallinfo2) struct mallinfo __libc_mallinfo(void); @@ -4999,6 +5000,7 @@ __libc_mallinfo2 (void) return m; } +libc_hidden_def (__libc_mallinfo2) struct mallinfo __libc_mallinfo (void) |