about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sigwait.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-01-31 23:00:15 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-01-31 23:00:15 +0000
commit32a45bea390b39e3be3cfa81c68a5892eaa539d2 (patch)
treecbab4b38b61bf6adcece85d3476bd5e2e12ef11c /sysdeps/unix/sysv/linux/sigwait.c
parent2e8a5c8c46f0a897a2629131eb86d1cae8321234 (diff)
downloadglibc-32a45bea390b39e3be3cfa81c68a5892eaa539d2.tar.gz
glibc-32a45bea390b39e3be3cfa81c68a5892eaa539d2.tar.xz
glibc-32a45bea390b39e3be3cfa81c68a5892eaa539d2.zip
Remove CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sigwait.c')
-rw-r--r--sysdeps/unix/sysv/linux/sigwait.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/sigwait.c b/sysdeps/unix/sysv/linux/sigwait.c
index aaea9d680a..9ea21d0776 100644
--- a/sysdeps/unix/sysv/linux/sigwait.c
+++ b/sysdeps/unix/sysv/linux/sigwait.c
@@ -23,7 +23,6 @@
 
 #include <sysdep-cancel.h>
 #include <sys/syscall.h>
-#include <bp-checks.h>
 
 #ifdef __NR_rt_sigtimedwait
 
@@ -58,7 +57,7 @@ do_sigwait (const sigset_t *set, int *sig)
 #ifdef INTERNAL_SYSCALL
   INTERNAL_SYSCALL_DECL (err);
   do
-    ret = INTERNAL_SYSCALL (rt_sigtimedwait, err, 4, CHECK_SIGSET (set),
+    ret = INTERNAL_SYSCALL (rt_sigtimedwait, err, 4, set,
 			    NULL, NULL, _NSIG / 8);
   while (INTERNAL_SYSCALL_ERROR_P (ret, err)
 	 && INTERNAL_SYSCALL_ERRNO (ret, err) == EINTR);
@@ -71,8 +70,7 @@ do_sigwait (const sigset_t *set, int *sig)
     ret = INTERNAL_SYSCALL_ERRNO (ret, err);
 #else
   do
-    ret = INLINE_SYSCALL (rt_sigtimedwait, 4, CHECK_SIGSET (set),
-			  NULL, NULL, _NSIG / 8);
+    ret = INLINE_SYSCALL (rt_sigtimedwait, 4, set, NULL, NULL, _NSIG / 8);
   while (ret == -1 && errno == EINTR);
   if (ret != -1)
     {