diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-19 03:41:14 +0200 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-09-18 22:02:47 -0700 |
commit | 397e6889b734ac2508477752cf2a1acdf9d66fd4 (patch) | |
tree | c0fbd6fc8d9563761ed519e5e32a4b0fa81907b1 /libpthread/linuxthreads | |
parent | 6a425eea7816aa21cfbef8bed33fde10b7a44bdf (diff) | |
download | uClibc-alpine-397e6889b734ac2508477752cf2a1acdf9d66fd4.tar.bz2 uClibc-alpine-397e6889b734ac2508477752cf2a1acdf9d66fd4.tar.xz |
sigwait: remove __sigwait and __GI_sigwait symbols - they are unused
sigwait is not called from any uclibc function, so "hidden symbol"
trick is not needed on it. __sigwait also is never used,
and it's not clear why it even existed.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/linuxthreads')
-rw-r--r-- | libpthread/linuxthreads/sysdeps/unix/sysv/linux/sigwait.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/sigwait.c b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/sigwait.c index 9bacb1360..859cad5ef 100644 --- a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/sigwait.c +++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/sigwait.c @@ -68,9 +68,7 @@ weak_extern (__pthread_sigwait) #endif int -__sigwait (set, sig) - const sigset_t *set; - int *sig; +sigwait (const sigset_t *set, int *sig) { #ifndef NOT_IN_libc return __libc_maybe_call2 (pthread_sigwait, (set, sig), @@ -79,9 +77,7 @@ __sigwait (set, sig) return do_sigwait (set, sig); #endif } -libc_hidden_def (__sigwait) -weak_alias (__sigwait, sigwait) -strong_alias (__sigwait, __libc_sigwait) +strong_alias(sigwait, __libc_sigwait) /* Cancellation is handled in __pthread_sigwait. */ LIBC_CANCEL_HANDLED (); |