diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2024-09-16 19:21:46 -0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2024-09-16 19:21:46 -0400 |
commit | 5a9fe580149d302eb64ebec516c173903cd99620 (patch) | |
tree | 274348180587d81fc628f469f6a5da13a10365d5 /newlib | |
parent | 1b3dcfdc6f1fd2bd3e1ef2f8b7df736c076c6042 (diff) | |
download | newlib-5a9fe580149d302eb64ebec516c173903cd99620.zip newlib-5a9fe580149d302eb64ebec516c173903cd99620.tar.gz newlib-5a9fe580149d302eb64ebec516c173903cd99620.tar.bz2 |
Make sure mallinfo structure matches newlib's malloc.h
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/libc/stdlib/_mallocr.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/newlib/libc/stdlib/_mallocr.c b/newlib/libc/stdlib/_mallocr.c index c73982c..56968cb 100644 --- a/newlib/libc/stdlib/_mallocr.c +++ b/newlib/libc/stdlib/_mallocr.c @@ -731,16 +731,16 @@ do { \ /* SVID2/XPG mallinfo structure */ struct mallinfo { - int arena; /* total space allocated from system */ - int ordblks; /* number of non-inuse chunks */ - int smblks; /* unused -- always zero */ - int hblks; /* number of mmapped regions */ - int hblkhd; /* total space in mmapped regions */ - int usmblks; /* unused -- always zero */ - int fsmblks; /* unused -- always zero */ - int uordblks; /* total allocated space */ - int fordblks; /* total non-inuse space */ - int keepcost; /* top-most, releasable (via malloc_trim) space */ + size_t arena; /* total space allocated from system */ + size_t ordblks; /* number of non-inuse chunks */ + size_t smblks; /* unused -- always zero */ + size_t hblks; /* number of mmapped regions */ + size_t hblkhd; /* total space in mmapped regions */ + size_t usmblks; /* unused -- always zero */ + size_t fsmblks; /* unused -- always zero */ + size_t uordblks; /* total allocated space */ + size_t fordblks; /* total non-inuse space */ + size_t keepcost; /* top-most, releasable (via malloc_trim) space */ }; /* SVID2/XPG mallopt options */ |