summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads/sysdeps/unix/sysv/linux/sigwait.c
diff options
context:
space:
mode:
authorKhem Raj <kraj@mvista.com>2008-12-15 19:07:27 +0000
committerKhem Raj <kraj@mvista.com>2008-12-15 19:07:27 +0000
commit049ddd1e98e7c26664f8b66cd5e1239bda3c19cc (patch)
tree7bbd17fd8953579f5916d280de338aa1c0b3a277 /libpthread/linuxthreads/sysdeps/unix/sysv/linux/sigwait.c
parent3dc0cc7b9459f83600357e6156749086ef268988 (diff)
downloaduClibc-alpine-049ddd1e98e7c26664f8b66cd5e1239bda3c19cc.tar.bz2
uClibc-alpine-049ddd1e98e7c26664f8b66cd5e1239bda3c19cc.tar.xz
Merge Linuxthreads from Trunk.
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/unix/sysv/linux/sigwait.c')
-rw-r--r--libpthread/linuxthreads/sysdeps/unix/sysv/linux/sigwait.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/sigwait.c b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/sigwait.c
index 3432125bb..9bacb1360 100644
--- a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/sigwait.c
+++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/sigwait.c
@@ -23,11 +23,10 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#include <bp-checks.h>
#include <bits/libc-lock.h>
-extern int __syscall_rt_sigtimedwait (const sigset_t *__unbounded, siginfo_t *__unbounded,
- const struct timespec *__unbounded, size_t);
+extern int __syscall_rt_sigtimedwait (const sigset_t *, siginfo_t *,
+ const struct timespec *, size_t);
/* Return any pending signal or wait for one for the given time. */
@@ -40,7 +39,7 @@ do_sigwait (const sigset_t *set, int *sig)
real size of the user-level sigset_t. */
#ifdef INTERNAL_SYSCALL
INTERNAL_SYSCALL_DECL (err);
- ret = INTERNAL_SYSCALL (rt_sigtimedwait, err, 4, CHECK_SIGSET (set),
+ ret = INTERNAL_SYSCALL (rt_sigtimedwait, err, 4, set,
NULL, NULL, _NSIG / 8);
if (! INTERNAL_SYSCALL_ERROR_P (ret, err))
{
@@ -50,7 +49,7 @@ do_sigwait (const sigset_t *set, int *sig)
else
ret = INTERNAL_SYSCALL_ERRNO (ret, err);
#else
- ret = INLINE_SYSCALL (rt_sigtimedwait, 4, CHECK_SIGSET (set),
+ ret = INLINE_SYSCALL (rt_sigtimedwait, 4, set,
NULL, NULL, _NSIG / 8);
if (ret != -1)
{