summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sem_init.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-05 05:56:00 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-05 05:56:00 +0000
commit3f25366c3b89ac0573906b80f32e017091d007ea (patch)
treeb6144b02f6fea01ca43d36ed9df68aecfd74c49e /libpthread/nptl/sem_init.c
parentde94610a30e6e4d6fc0999104e7b278b57819fec (diff)
downloaduClibc-alpine-3f25366c3b89ac0573906b80f32e017091d007ea.tar.bz2
uClibc-alpine-3f25366c3b89ac0573906b80f32e017091d007ea.tar.xz
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.
Diffstat (limited to 'libpthread/nptl/sem_init.c')
-rw-r--r--libpthread/nptl/sem_init.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libpthread/nptl/sem_init.c b/libpthread/nptl/sem_init.c
index 8709911ac..0fbdf594e 100644
--- a/libpthread/nptl/sem_init.c
+++ b/libpthread/nptl/sem_init.c
@@ -20,7 +20,6 @@
#include <errno.h>
#include <semaphore.h>
#include <lowlevellock.h>
-#include <shlib-compat.h>
#include "semaphoreP.h"
@@ -48,8 +47,4 @@ __new_sem_init (sem, pshared, value)
return 0;
}
-versioned_symbol (libpthread, __new_sem_init, sem_init, GLIBC_2_1);
-#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
-strong_alias (__new_sem_init, __old_sem_init)
-compat_symbol (libpthread, __old_sem_init, sem_init, GLIBC_2_0);
-#endif
+weak_alias(__new_sem_init, sem_init)