diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-06-09 13:49:10 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-06-09 13:49:10 +0000 |
commit | b85995291e8db20bb08a64f409268ce7ffb7ed93 (patch) | |
tree | f4343e39a8cb63064c29082e2f0771c0ce2f27ff /signal/signal.h | |
parent | 0862cdcdc814185345ab3e6eda4bb1b81efdf76a (diff) | |
download | glibc-b85995291e8db20bb08a64f409268ce7ffb7ed93.zip glibc-b85995291e8db20bb08a64f409268ce7ffb7ed93.tar.gz glibc-b85995291e8db20bb08a64f409268ce7ffb7ed93.tar.bz2 |
Fix sigpause namespace (bug 21554).
The sigpause function is declared for __USE_XOPEN. As it's new in
XPG4.2 it should be declared only for __USE_XOPEN_EXTENDED. This
patch fixes the declaration accordingly.
Tested for x86_64.
[BZ #21554]
* signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
not [__USE_XOPEN].
Diffstat (limited to 'signal/signal.h')
-rw-r--r-- | signal/signal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/signal/signal.h b/signal/signal.h index b311473..a43f888 100644 --- a/signal/signal.h +++ b/signal/signal.h @@ -142,7 +142,7 @@ extern void psiginfo (const siginfo_t *__pinfo, const char *__s); This function is a cancellation point and therefore not marked with __THROW. */ -#ifdef __USE_XOPEN +#ifdef __USE_XOPEN_EXTENDED # ifdef __GNUC__ extern int sigpause (int __sig) __asm__ ("__xpg_sigpause"); # else |