diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-13 00:55:15 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:22 +0200 |
commit | 5fce95b146d86e31977fcc62380b9fd32813561f (patch) | |
tree | 57d7336d23c8c99a5834e04a7a86e53cbf39acb3 /libc | |
parent | 12bfecef4c3340935ca2c107bdef06fc7da8bd95 (diff) |
no need for hidden sigtimedwait
remove unneeded attribute_hidden too, as the prototype provides it
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/common/__rt_sigtimedwait.c | 13 |
1 files changed, 6 insertions, 7 deletions
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 <stddef.h> # 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 |