aboutsummaryrefslogtreecommitdiff
path: root/malloc/hooks.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-02-19 17:07:04 +0100
committerFlorian Weimer <fweimer@redhat.com>2016-02-19 17:07:04 +0100
commitca135f824b1dbaf43e4a673de7725db76a51b714 (patch)
tree487c36e49482479f9f9a88094cf8896827dadc88 /malloc/hooks.c
parent00d4e2ea3503e6de0f198cd65343f287a51f04db (diff)
downloadglibc-ca135f824b1dbaf43e4a673de7725db76a51b714.zip
glibc-ca135f824b1dbaf43e4a673de7725db76a51b714.tar.gz
glibc-ca135f824b1dbaf43e4a673de7725db76a51b714.tar.bz2
malloc: Remove max_total_mem member form struct malloc_par
Also note that sumblks in struct mallinfo is always 0. No functional change.
Diffstat (limited to 'malloc/hooks.c')
-rw-r--r--malloc/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/hooks.c b/malloc/hooks.c
index 7a85136..0d2bb96 100644
--- a/malloc/hooks.c
+++ b/malloc/hooks.c
@@ -480,7 +480,7 @@ struct malloc_save_state
unsigned long mmap_threshold;
int check_action;
unsigned long max_sbrked_mem;
- unsigned long max_total_mem;
+ unsigned long max_total_mem; /* Always 0, for backwards compatibility. */
unsigned int n_mmaps;
unsigned int max_n_mmaps;
unsigned long mmapped_mem;