From 5e6d4834e6b35c6b0017fcdaf246c505dec10452 Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Tue, 16 Feb 2010 15:11:07 -0800 Subject: a few more build fixes nptl sync Signed-off-by: Austin Foxley --- libpthread/nptl/sysdeps/unix/sysv/linux/register-atfork.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/register-atfork.c') diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/register-atfork.c b/libpthread/nptl/sysdeps/unix/sysv/linux/register-atfork.c index 9e36858fc..f956ad565 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/register-atfork.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/register-atfork.c @@ -22,6 +22,7 @@ #include #include #include +#include /* Lock to protect allocation and deallocation of fork handlers. */ @@ -119,7 +120,7 @@ __linkin_atfork (struct fork_handler *newp) newp, newp->next) != 0); } - +#if 0 libc_freeres_fn (free_mem) { /* Get the lock to not conflict with running forks. */ @@ -144,3 +145,5 @@ libc_freeres_fn (free_mem) free (oldp); } } +#endif + -- cgit v1.2.3