about summary refs log tree commit diff
path: root/sysdeps/pthread/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-05-03 08:12:12 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-05-03 08:16:48 +0200
commitae4a5ca07496e8ae8a74924095f0161d4c759328 (patch)
tree8cb36f4aeb5f01d245d6bbaf318171f5c123648b /sysdeps/pthread/Makefile
parent08970190fc225b319ba456f621a62a50858fa0f6 (diff)
downloadglibc-ae4a5ca07496e8ae8a74924095f0161d4c759328.tar.gz
glibc-ae4a5ca07496e8ae8a74924095f0161d4c759328.tar.xz
glibc-ae4a5ca07496e8ae8a74924095f0161d4c759328.zip
nptl: Move mtx_unlock into libc
The symbol was moved using scripts/move-symbol-to-libc.py.

__pthread_mutex_unlock@GLIBC_2.34 is not removed in this commit
because it is still used from nptl/nptl-init.c.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/pthread/Makefile')
-rw-r--r--sysdeps/pthread/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile
index dbff46dd45..6f204ccab2 100644
--- a/sysdeps/pthread/Makefile
+++ b/sysdeps/pthread/Makefile
@@ -32,7 +32,6 @@ headers += threads.h
 routines += thrd_current thrd_equal thrd_sleep thrd_yield
 
 libpthread-routines += thrd_create thrd_detach thrd_exit thrd_join \
-		       mtx_unlock \
 		       tss_create tss_delete tss_get tss_set
 
 $(libpthread-routines-var) += \
@@ -48,6 +47,7 @@ $(libpthread-routines-var) += \
   mtx_lock \
   mtx_timedlock \
   mtx_trylock \
+  mtx_unlock \
 
 tests += tst-cnd-basic tst-mtx-trylock tst-cnd-broadcast \
 	 tst-cnd-timedwait tst-thrd-detach tst-mtx-basic tst-thrd-sleep \