about summary refs log tree commit diff
path: root/sysdeps/nptl/malloc-machine.h
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 /sysdeps/nptl/malloc-machine.h
parentbe728303a6bcf7d2cf8d6c6ccc56d98d65309b81 (diff)
downloadglibc-cbb47fa1c6476af73f393a81cd62fc926e1b8f6e.tar.gz
glibc-cbb47fa1c6476af73f393a81cd62fc926e1b8f6e.tar.xz
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 'sysdeps/nptl/malloc-machine.h')
-rw-r--r--sysdeps/nptl/malloc-machine.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/sysdeps/nptl/malloc-machine.h b/sysdeps/nptl/malloc-machine.h
index 1a2af6f987..b20c423f60 100644
--- a/sysdeps/nptl/malloc-machine.h
+++ b/sysdeps/nptl/malloc-machine.h
@@ -22,14 +22,6 @@
 
 #include <atomic.h>
 #include <libc-lock.h>
-
-__libc_lock_define (typedef, mutex_t)
-
-#define mutex_init(m)		__libc_lock_init (*(m))
-#define mutex_lock(m)		__libc_lock_lock (*(m))
-#define mutex_trylock(m)	__libc_lock_trylock (*(m))
-#define mutex_unlock(m)		__libc_lock_unlock (*(m))
-
 #include <sysdeps/generic/malloc-machine.h>
 
 #endif /* !defined(_MALLOC_MACHINE_H) */