1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00
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.
This commit is contained in:
Ulrich Drepper
2004-05-10 04:49:53 +00:00
parent cdbf48bed6
commit 66b3d19800
5 changed files with 39 additions and 7 deletions

View File

@@ -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