1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

malloc: Manual part of conversion to __libc_lock

This removes the old mutex_t-related definitions from malloc-machine.h,
too.
This commit is contained in:
Florian Weimer
2016-09-21 16:28:08 +02:00
parent be728303a6
commit cbb47fa1c6
5 changed files with 20 additions and 33 deletions

View File

@ -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;