diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-05-10 04:49:53 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-05-10 04:49:53 +0000 |
commit | 66b3d19800bf84dec3aaa2112de9b0e8b98dd9c9 (patch) | |
tree | 13151e3069280d4631d5991c962fa19196ad9b38 /signal/signal.h | |
parent | cdbf48bed66758a785695faef64d44ef96ffa372 (diff) | |
download | glibc-66b3d19800bf84dec3aaa2112de9b0e8b98dd9c9.tar.gz glibc-66b3d19800bf84dec3aaa2112de9b0e8b98dd9c9.tar.xz glibc-66b3d19800bf84dec3aaa2112de9b0e8b98dd9c9.zip |
Update.
2004-05-09 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/sigpause.c: Prevent sigpause prototype. * sysdeps/posix/sigpause.c: Likewise. * signal/signal.h: Don't define sigpause macro unless needed.
Diffstat (limited to 'signal/signal.h')
-rw-r--r-- | signal/signal.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/signal/signal.h b/signal/signal.h index 2b57180695..db8b0b571d 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 |