Fix sigpause namespace (bug 21554).
authorJoseph Myers <joseph@codesourcery.com>
Fri, 9 Jun 2017 13:49:10 +0000 (13:49 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 9 Jun 2017 13:49:10 +0000 (13:49 +0000)
commitb85995291e8db20bb08a64f409268ce7ffb7ed93
treef4343e39a8cb63064c29082e2f0771c0ce2f27ff
parent0862cdcdc814185345ab3e6eda4bb1b81efdf76a
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].
ChangeLog
signal/signal.h