diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-05-04 17:38:05 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-05-04 17:38:05 +0000 |
commit | 4c3992fc459322a7c712700ba3244fcb125163d7 (patch) | |
tree | c85e4e90f56807b4766167edb13d6e12909c50db /ChangeLog | |
parent | fd9f30f6f9b266405d88eb11b1f8793451629125 (diff) | |
download | glibc-4c3992fc459322a7c712700ba3244fcb125163d7.zip glibc-4c3992fc459322a7c712700ba3244fcb125163d7.tar.gz glibc-4c3992fc459322a7c712700ba3244fcb125163d7.tar.bz2 |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,5 +1,8 @@ 2017-05-04 Joseph Myers <joseph@codesourcery.com> + [BZ #21445] + * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare. + [BZ #21457] * sysdeps/unix/sysv/linux/mips/sys/ucontext.h [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to |