From d4b4c5a0633be8be45583b2fd2238514a52e4202 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 19 Sep 2009 03:41:14 +0200 Subject: 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 --- libpthread/linuxthreads/sysdeps/unix/sysv/linux/sigwait.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libpthread/linuxthreads/sysdeps') 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 (); -- cgit v1.2.3