about summary refs log tree commit diff
path: root/nptl/register-atfork.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-12-17 14:33:28 -0800
committerRoland McGrath <roland@hack.frob.com>2014-12-17 14:33:28 -0800
commitdd6904541f6586616a6783388f18be0447e4dcb2 (patch)
tree1a5565a1a2c607b773562d42996874ca5863694e /nptl/register-atfork.c
parent74eb826cff5e4277d2d866a92058f27a837f8ff7 (diff)
downloadglibc-dd6904541f6586616a6783388f18be0447e4dcb2.tar.gz
glibc-dd6904541f6586616a6783388f18be0447e4dcb2.tar.xz
glibc-dd6904541f6586616a6783388f18be0447e4dcb2.zip
NPTL: Move fork state variables to initializer files.
Diffstat (limited to 'nptl/register-atfork.c')
-rw-r--r--nptl/register-atfork.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/register-atfork.c b/nptl/register-atfork.c
index 2cc49540b9..d79f643864 100644
--- a/nptl/register-atfork.c
+++ b/nptl/register-atfork.c
@@ -23,6 +23,8 @@
 #include <atomic.h>
 
 
+struct fork_handler *__fork_handlers;
+
 /* Lock to protect allocation and deallocation of fork handlers.  */
 int __fork_lock = LLL_LOCK_INITIALIZER;