about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-05-04 17:38:05 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-05-04 17:38:05 +0000
commit4c3992fc459322a7c712700ba3244fcb125163d7 (patch)
treec85e4e90f56807b4766167edb13d6e12909c50db /sysdeps
parentfd9f30f6f9b266405d88eb11b1f8793451629125 (diff)
downloadglibc-4c3992fc459322a7c712700ba3244fcb125163d7.tar.gz
glibc-4c3992fc459322a7c712700ba3244fcb125163d7.tar.xz
glibc-4c3992fc459322a7c712700ba3244fcb125163d7.zip
Fix signal.h bsd_signal namespace (bug 21445).
signal.h declares bsd_signal for __USE_XOPEN.  But this function was
obsoleted in the 2001 edition of POSIX and removed in the 2008
edition, so it should not be declared when the 2008 edition is in use.
This patch fixes the conditionals accordingly.  (This does not fix any
conform/ test failures because of other namespace issues in signal.h.)

Tested for x86_64.

	[BZ #21445]
	* signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
Diffstat (limited to 'sysdeps')
0 files changed, 0 insertions, 0 deletions