diff options
Diffstat (limited to 'lib/libc/gen/pause.c')
-rw-r--r-- | lib/libc/gen/pause.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/gen/pause.c b/lib/libc/gen/pause.c index ef48c1c..51706cf 100644 --- a/lib/libc/gen/pause.c +++ b/lib/libc/gen/pause.c @@ -33,10 +33,10 @@ static char sccsid[] = "@(#)pause.c 8.1 (Berkeley) 6/4/93"; #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "namespace.h" #include <signal.h> #include <unistd.h> - -#include "libc_private.h" +#include "un-namespace.h" /* * Backwards compatible pause. @@ -46,10 +46,9 @@ __pause(void) { sigset_t oset; - if (sigprocmask(SIG_BLOCK, NULL, &oset) == -1) + if (_sigprocmask(SIG_BLOCK, NULL, &oset) == -1) return (-1); - return (sigsuspend(&oset)); + return (_sigsuspend(&oset)); } - __weak_reference(__pause, pause); __weak_reference(__pause, _pause); |