1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-05 19:35:52 +03:00

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>
This commit is contained in:
DJ Delorie
2020-09-01 16:17:25 -04:00
parent d38e1bbda0
commit cdf645427d
38 changed files with 128 additions and 2 deletions

View File

@@ -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)