summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/pause.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/pause.c')
-rw-r--r--libc/sysdeps/linux/common/pause.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/pause.c b/libc/sysdeps/linux/common/pause.c
index 32fe839c0..c35ecd5d5 100644
--- a/libc/sysdeps/linux/common/pause.c
+++ b/libc/sysdeps/linux/common/pause.c
@@ -25,7 +25,7 @@ int
# ifdef __LINUXTHREADS_OLD__
weak_function
# endif
-pause(void)
+__NC(pause)(void)
{
sigset_t set;
@@ -36,6 +36,6 @@ pause(void)
So no need for anything special here. */
return sigsuspend(&set);
}
-lt_strong_alias(pause)
+CANCELLABLE_SYSCALL(int, pause, (void), ())
LIBC_CANCEL_HANDLED (); /* sigsuspend handles our cancellation. */
#endif