diff options
Diffstat (limited to 'sysdeps/posix/pause.c')
-rw-r--r-- | sysdeps/posix/pause.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sysdeps/posix/pause.c b/sysdeps/posix/pause.c index 7996cd6dbb..53e143d98f 100644 --- a/sysdeps/posix/pause.c +++ b/sysdeps/posix/pause.c @@ -39,18 +39,3 @@ __libc_pause (void) weak_alias (__libc_pause, pause) LIBC_CANCEL_HANDLED (); /* sigsuspend handles our cancellation. */ - -#ifndef NO_CANCELLATION -# include <not-cancel.h> - -int -__pause_nocancel (void) -{ - sigset_t set; - - __sigemptyset (&set); - __sigprocmask (SIG_BLOCK, NULL, &set); - - return sigsuspend_not_cancel (&set); -} -#endif |