From 5fce95b146d86e31977fcc62380b9fd32813561f Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 13 Mar 2011 00:55:15 +0100 Subject: no need for hidden sigtimedwait remove unneeded attribute_hidden too, as the prototype provides it Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/__rt_sigtimedwait.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'libc/sysdeps') diff --git a/libc/sysdeps/linux/common/__rt_sigtimedwait.c b/libc/sysdeps/linux/common/__rt_sigtimedwait.c index 26860d2d2..168e38071 100644 --- a/libc/sysdeps/linux/common/__rt_sigtimedwait.c +++ b/libc/sysdeps/linux/common/__rt_sigtimedwait.c @@ -56,8 +56,8 @@ static int do_sigtimedwait(const sigset_t *set, siginfo_t *info, } /* Return any pending signal or wait for one for the given time. */ -int attribute_hidden __sigtimedwait(const sigset_t *set, siginfo_t *info, - const struct timespec *timeout) +int __sigtimedwait(const sigset_t *set, siginfo_t *info, + const struct timespec *timeout) { if(SINGLE_THREAD_P) return do_sigtimedwait(set, info, timeout); @@ -77,15 +77,14 @@ int attribute_hidden __sigtimedwait(const sigset_t *set, siginfo_t *info, # include # define __NR___rt_sigtimedwait __NR_rt_sigtimedwait static _syscall4(int, __rt_sigtimedwait, const sigset_t *, set, - siginfo_t *, info, const struct timespec *, timeout, - size_t, setsize); + siginfo_t *, info, const struct timespec *, timeout, + size_t, setsize); -int attribute_hidden __sigtimedwait(const sigset_t * set, siginfo_t * info, - const struct timespec *timeout) +int __sigtimedwait(const sigset_t * set, siginfo_t * info, + const struct timespec *timeout) { return __rt_sigtimedwait(set, info, timeout, _NSIG / 8); } # endif /* !__UCLIBC_HAS_THREADS_NATIVE__ */ weak_alias(__sigtimedwait,sigtimedwait) -libc_hidden_weak(sigtimedwait) #endif -- cgit v1.2.3