summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/sem_trywait.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/sem_trywait.c')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/sem_trywait.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sem_trywait.c b/libpthread/nptl/sysdeps/unix/sysv/linux/sem_trywait.c
index 3cf1d9a8a..dede93e50 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/sem_trywait.c
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sem_trywait.c
@@ -26,7 +26,7 @@
int
-__new_sem_trywait (sem_t *sem)
+sem_trywait (sem_t *sem)
{
int *futex = (int *) sem;
int val;
@@ -41,4 +41,3 @@ __new_sem_trywait (sem_t *sem)
__set_errno (EAGAIN);
return -1;
}
-weak_alias(__new_sem_trywait, sem_trywait)