summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/register-atfork.c
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2010-02-16 15:11:07 -0800
committerAustin Foxley <austinf@cetoncorp.com>2010-02-16 15:11:07 -0800
commit5e6d4834e6b35c6b0017fcdaf246c505dec10452 (patch)
treebc227776090a80a27f8a36af392fb60a964fff65 /libpthread/nptl/sysdeps/unix/sysv/linux/register-atfork.c
parenta032a6587011cbdac8c2f7e11f15dc4e592bbb55 (diff)
a few more build fixes nptl sync
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/register-atfork.c')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/register-atfork.c5
1 files changed, 4 insertions, 1 deletions
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 <string.h>
#include <fork.h>
#include <atomic.h>
+#include <tls.h>
/* 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
+