aboutsummaryrefslogtreecommitdiff
path: root/malloc/malloc.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-09-21 16:28:08 +0200
committerFlorian Weimer <fweimer@redhat.com>2016-09-21 16:28:08 +0200
commitcbb47fa1c6476af73f393a81cd62fc926e1b8f6e (patch)
treef69ec7916eb45064634f06f09521bea14fe77712 /malloc/malloc.c
parentbe728303a6bcf7d2cf8d6c6ccc56d98d65309b81 (diff)
downloadglibc-cbb47fa1c6476af73f393a81cd62fc926e1b8f6e.tar
glibc-cbb47fa1c6476af73f393a81cd62fc926e1b8f6e.tar.gz
glibc-cbb47fa1c6476af73f393a81cd62fc926e1b8f6e.tar.bz2
glibc-cbb47fa1c6476af73f393a81cd62fc926e1b8f6e.zip
malloc: Manual part of conversion to __libc_lock
This removes the old mutex_t-related definitions from malloc-machine.h, too.
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r--malloc/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 20acb73c3e..ef04360b91 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -1616,7 +1616,7 @@ typedef struct malloc_chunk *mfastbinptr;
struct malloc_state
{
/* Serialize access. */
- mutex_t mutex;
+ __libc_lock_define (, mutex);
/* Flags (formerly in max_fast). */
int flags;