diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-13 01:00:55 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:22 +0200 |
commit | 3c3f899b6d2ff68d3d6f1ef8f752218d8dd594ea (patch) | |
tree | eb115b998c9cdedde6d56296bb17085f2ddfd2ed /libc | |
parent | 5fce95b146d86e31977fcc62380b9fd32813561f (diff) |
remove unneeded hidden sigwaitinfo
use __sigwaitinfo in sigwait.c, since that is already hidden
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/signal/sigwait.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/__rt_sigwaitinfo.c | 8 |
2 files changed, 4 insertions, 6 deletions
diff --git a/libc/signal/sigwait.c b/libc/signal/sigwait.c index 8fd7ea81f..634a18dc5 100644 --- a/libc/signal/sigwait.c +++ b/libc/signal/sigwait.c @@ -96,7 +96,7 @@ int sigwait (const sigset_t *set, int *sig) int sigwait (const sigset_t *set, int *sig) { int ret = 1; - if ((ret = sigwaitinfo(set, NULL)) != -1) { + if ((ret = __sigwaitinfo(set, NULL)) != -1) { *sig = ret; return 0; } diff --git a/libc/sysdeps/linux/common/__rt_sigwaitinfo.c b/libc/sysdeps/linux/common/__rt_sigwaitinfo.c index 6b4332715..74db6d6f9 100644 --- a/libc/sysdeps/linux/common/__rt_sigwaitinfo.c +++ b/libc/sysdeps/linux/common/__rt_sigwaitinfo.c @@ -75,15 +75,13 @@ int __sigwaitinfo(const sigset_t *set, siginfo_t *info) # include <stddef.h> # define __NR___rt_sigwaitinfo __NR_rt_sigtimedwait static _syscall4(int, __rt_sigwaitinfo, 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 __sigwaitinfo(const sigset_t * set, siginfo_t * info) +int __sigwaitinfo(const sigset_t * set, siginfo_t * info) { return __rt_sigwaitinfo(set, info, NULL, _NSIG / 8); } # endif -libc_hidden_proto(sigwaitinfo) weak_alias (__sigwaitinfo, sigwaitinfo) -libc_hidden_weak(sigwaitinfo) #endif |