* libc/include/malloc.h (struct mallinfo): Convert type of all members
to size_t to match all targets.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | ||||
| 2013-02-26  Corinna Vinschen  <vinschen@redhat.com> | ||||
|  | ||||
| 	* libc/include/malloc.h (struct mallinfo): Convert type of all members | ||||
| 	to size_t to match all targets. | ||||
|  | ||||
| 2013-02-20  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net> | ||||
| 	    Joseph S. Myers <joseph@codesourcery.com> | ||||
|  | ||||
|   | ||||
| @@ -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.  */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user