about summary refs log tree commit diff
path: root/malloc/malloc.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-06-29 14:54:59 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-06-29 14:55:15 +0200
commit524d796d5f52913d5d33edede74a5075dbda25ca (patch)
treebeb1b4a004016be4d608e1e6900c41cfd2ec242d /malloc/malloc.c
parent339124ab429ce917dfbcd75e2acc4299d27340f9 (diff)
downloadglibc-524d796d5f52913d5d33edede74a5075dbda25ca.tar.gz
glibc-524d796d5f52913d5d33edede74a5075dbda25ca.tar.xz
glibc-524d796d5f52913d5d33edede74a5075dbda25ca.zip
malloc: Update heap dumping/undumping comments [BZ #23351]
Also remove a few now-unused declarations and definitions.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r--malloc/malloc.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 9614954975..e247c77b7d 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -698,22 +698,6 @@ size_t   __malloc_usable_size(void*);
 void     __malloc_stats(void);
 
 /*
-  malloc_get_state(void);
-
-  Returns the state of all malloc variables in an opaque data
-  structure.
-*/
-void*  __malloc_get_state(void);
-
-/*
-  malloc_set_state(void* state);
-
-  Restore the state of all malloc variables from data obtained with
-  malloc_get_state().
-*/
-int      __malloc_set_state(void*);
-
-/*
   posix_memalign(void **memptr, size_t alignment, size_t size);
 
   POSIX wrapper like memalign(), checking for validity of size.