summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/sem_trywait.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-26 23:47:17 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:43 +0200
commitf0a3d118ea5b5c4e945941cd7b1bb243f0878e43 (patch)
treec56a15d2733ccb76f2f98c807972cd0473b12bed /libpthread/nptl/sysdeps/unix/sysv/linux/sem_trywait.c
parente7575150911d8ee230d17ab7c03864df24a8be07 (diff)
NPTL: rename __new_sem_* to sem_*
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
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)