From f0a3d118ea5b5c4e945941cd7b1bb243f0878e43 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 26 Apr 2011 23:47:17 +0200 Subject: NPTL: rename __new_sem_* to sem_* Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c | 4 +--- libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c | 4 +--- libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32') diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c b/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c index 940728eeb..dc9bbca44 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c @@ -25,7 +25,7 @@ #include int -__new_sem_post (sem_t *sem) +sem_post (sem_t *sem) { struct sparc_new_sem *isem = (struct sparc_new_sem *) sem; int nr; @@ -51,5 +51,3 @@ __new_sem_post (sem_t *sem) } return 0; } -weak_alias(__new_sem_post, sem_post) - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c b/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c index d4e893805..6bbf9b25e 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c @@ -26,7 +26,7 @@ int -__new_sem_trywait (sem_t *sem) +sem_trywait (sem_t *sem) { struct sparc_old_sem *isem = (struct sparc_old_sem *) sem; int val; @@ -50,5 +50,3 @@ __new_sem_trywait (sem_t *sem) __set_errno (EAGAIN); return -1; } -weak_alias(__new_sem_trywait, sem_trywait) - diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c b/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c index cfe04a802..a2ec1d46b 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c @@ -45,7 +45,7 @@ __sem_wait_cleanup (void *arg) int -__new_sem_wait (sem_t *sem) +sem_wait (sem_t *sem) { struct sparc_new_sem *isem = (struct sparc_new_sem *) sem; int err; @@ -123,5 +123,3 @@ __new_sem_wait (sem_t *sem) return err; } -weak_alias(__new_sem_wait, sem_wait) - -- cgit v1.2.3