* signal/signal.h (sigpause): Move __THROW before __asm__.
This commit is contained in:
Ulrich Drepper 2000-08-29 20:17:40 +00:00
parent 30f1226b0b
commit 4dadd40cc7
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2000-08-29 Ulrich Drepper <drepper@redhat.com>
* signal/signal.h (sigpause): Move __THROW before __asm__.
* inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
names don't match don't return.
Patch by Olaf Kirch <okir@flash.lst.de>.

View File

@ -147,7 +147,7 @@ extern int sigpause (int __mask) __THROW;
#else
# ifdef __USE_XOPEN
# ifdef __GNUC__
extern int sigpause (int __sig) __asm__ ("__xpg_sigpause") __THROW;
extern int sigpause (int __sig) __THROW __asm__ ("__xpg_sigpause");
# endif
/* Remove a signal from the signal mask and suspend the process. */
# define sigpause(sig) __sigpause ((sig), 1)