Fix XPG4 bsd_signal namespace (bug 21552).
authorJoseph Myers <joseph@codesourcery.com>
Mon, 12 Jun 2017 17:39:47 +0000 (17:39 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 12 Jun 2017 17:39:47 +0000 (17:39 +0000)
commit9527ae8291dbc6097f4f93c4ccce69b577f8a261
tree07b852df35272170ee7e8502db3556420f70d6ea
parenta0f8b1152040d2652cdeb741ac586c95221dc5f0
Fix XPG4 bsd_signal namespace (bug 21552).

bsd_signal was added in XPG4.2, so should be declared for
__USE_XOPEN_EXTENDED, instead of the present __USE_XOPEN condition.
This patch fixes the condition accordingly.

Tested for x86_64.

[BZ #21552]
* signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
not [__USE_XOPEN].
* conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
ChangeLog
conform/Makefile
signal/signal.h