From 66b3d19800bf84dec3aaa2112de9b0e8b98dd9c9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 10 May 2004 04:49:53 +0000 Subject: Update. 2004-05-09 Ulrich Drepper * sysdeps/generic/sigpause.c: Prevent sigpause prototype. * sysdeps/posix/sigpause.c: Likewise. * signal/signal.h: Don't define sigpause macro unless needed. --- signal/signal.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'signal') diff --git a/signal/signal.h b/signal/signal.h index 2b57180..db8b0b5 100644 --- a/signal/signal.h +++ b/signal/signal.h @@ -157,9 +157,10 @@ extern int sigpause (int __mask) __THROW; # ifdef __USE_XOPEN # ifdef __GNUC__ extern int sigpause (int __sig) __asm__ ("__xpg_sigpause"); -# endif +# else /* Remove a signal from the signal mask and suspend the process. */ -# define sigpause(sig) __sigpause ((sig), 1) +# define sigpause(sig) __sigpause ((sig), 1) +# endif # endif #endif -- cgit v1.1