diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-08-31 12:02:59 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-08-31 14:16:52 +0200 |
commit | 5129873a8e913e207e5f7b4b521c72f41a1bbf6d (patch) | |
tree | 51cab5e63cd99d48770061144242b6bbbcd6d813 /malloc/malloc.c | |
parent | 8715f256302cab595eaf9589b3f4341f1dab020d (diff) | |
download | glibc-5129873a8e913e207e5f7b4b521c72f41a1bbf6d.zip glibc-5129873a8e913e207e5f7b4b521c72f41a1bbf6d.tar.gz glibc-5129873a8e913e207e5f7b4b521c72f41a1bbf6d.tar.bz2 |
malloc: Change top_check return type to void
After commit ec2c1fcefb200c6cb7e09553f3c6af8815013d83,
(malloc: Abort on heap corruption, without a backtrace), the function
always returns 0.
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r-- | malloc/malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c index 65bbf02..768670c 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -1022,7 +1022,7 @@ static void* _mid_memalign(size_t, size_t, void *); static void malloc_printerr(const char *str) __attribute__ ((noreturn)); static void* internal_function mem2mem_check(void *p, size_t sz); -static int internal_function top_check(void); +static void top_check (void); static void internal_function munmap_chunk(mchunkptr p); #if HAVE_MREMAP static mchunkptr internal_function mremap_chunk(mchunkptr p, size_t new_size); |