diff options
author | Joseph Myers <joseph@codesourcery.com> | 2016-05-10 14:57:58 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2016-05-10 14:57:58 +0000 |
commit | 46c1ffa4d50ec6a11fb845708a94f107fdb765d2 (patch) | |
tree | 3afac62233e7333817001dad959440af2c35af93 /conform/Makefile | |
parent | b9eca49e378d183ddf418f5deae1f389cd31dc28 (diff) | |
download | glibc-46c1ffa4d50ec6a11fb845708a94f107fdb765d2.tar.gz |
Declare pthread_atfork in unistd.h for UNIX98 (bug 20044).
For UNIX98 (only), unistd.h should declare pthread_atfork, but that
declaration is missing. This patch adds it.
Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by the patch).
[BZ #20044]
* posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
(pthread_atfork): New prototype.
* conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
variable.
Diffstat (limited to 'conform/Makefile')
-rw-r--r-- | conform/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/conform/Makefile b/conform/Makefile index 32714e74ba..c4412ef36f 100644 --- a/conform/Makefile +++ b/conform/Makefile @@ -195,7 +195,6 @@ test-xfail-UNIX98/signal.h/conform = yes test-xfail-UNIX98/stdlib.h/conform = yes test-xfail-UNIX98/sys/wait.h/conform = yes test-xfail-UNIX98/ucontext.h/conform = yes -test-xfail-UNIX98/unistd.h/conform = yes test-xfail-XOPEN2K/semaphore.h/conform = yes test-xfail-XOPEN2K/signal.h/conform = yes test-xfail-XOPEN2K/sys/wait.h/conform = yes |