From 46c1ffa4d50ec6a11fb845708a94f107fdb765d2 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 10 May 2016 14:57:58 +0000 Subject: 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. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 55319d8848..93db66fd61 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2016-05-10 Joseph Myers + [BZ #20044] + * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K] + (pthread_atfork): New prototype. + * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove + variable. + [BZ #20043] * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New prototype. -- cgit v1.2.3