From 3f25366c3b89ac0573906b80f32e017091d007ea Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Sun, 5 Feb 2006 05:56:00 +0000 Subject: Get rid of versioning and shared library compatibility code. We want to start with as clean of a slate as possible. Whip me, beat me, make me shrink the code. --- libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c') diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c b/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c index 91b995518..06b3bd0ab 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c @@ -24,8 +24,6 @@ #include #include -#include - int __new_sem_post (sem_t *sem) { @@ -41,8 +39,4 @@ __new_sem_post (sem_t *sem) } return 0; } -versioned_symbol (libpthread, __new_sem_post, sem_post, GLIBC_2_1); -#if SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_1) -strong_alias (__new_sem_post, __old_sem_post) -compat_symbol (libpthread, __old_sem_post, sem_post, GLIBC_2_0); -#endif +weak_alias(__new_sem_post, sem_post) -- cgit v1.2.3