Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-02-26 18:25:13 +0400
committerCorinna Vinschen <corinna@vinschen.de>2013-02-26 18:25:13 +0400
commitc2e3ff288d758534194e339a5d675e6ce05bcb77 (patch)
treea10f75c645c24f7ac10bde756b76246417f452e3 /newlib/libc
parent1ef8ce71a885e8127b4dc32442b264966fccd2a0 (diff)
* libc/include/malloc.h (struct mallinfo): Convert type of all members
to size_t to match all targets.
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/include/malloc.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/newlib/libc/include/malloc.h b/newlib/libc/include/malloc.h
index c46357c65..41b5efdc0 100644
--- a/newlib/libc/include/malloc.h
+++ b/newlib/libc/include/malloc.h
@@ -20,16 +20,16 @@ extern "C" {
libc/stdlib/mallocr.c. */
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 */
};
/* The routines. */