summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/signal.h6
-rw-r--r--libc/signal/sigpause.c6
2 files changed, 1 insertions, 11 deletions
diff --git a/include/signal.h b/include/signal.h
index 986a9f79f..e4e5a10a8 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -159,12 +159,8 @@ extern int sigpause (int __mask) __THROW __attribute_deprecated__;
# define sigpause(mask) __sigpause ((mask), 0)
#else
# ifdef __USE_XOPEN
-# ifdef __GNUC__
-extern int sigpause (int __sig) __asm__ ("__xpg_sigpause");
-# else
/* Remove a signal from the signal mask and suspend the process. */
-# define sigpause(sig) __sigpause ((sig), 1)
-# endif
+# define sigpause(sig) __sigpause ((sig), 1)
# endif
#endif
diff --git a/libc/signal/sigpause.c b/libc/signal/sigpause.c
index 20a6ecd45..433b92b0c 100644
--- a/libc/signal/sigpause.c
+++ b/libc/signal/sigpause.c
@@ -63,9 +63,3 @@ int sigpause (int mask)
{
return __sigpause (mask, 0);
}
-
-int __xpg_sigpause (int sig)
-{
- return __sigpause (sig, 1);
-}
-