@@ -28,6 +28,9 @@
#include <ldsodefs.h>
+unsigned long int *__fork_generation_pointer;
+
+
#ifdef TLS_MULTIPLE_THREADS_IN_TCB
void
#else
@@ -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;
@@ -32,14 +32,6 @@
#include <arch-fork.h>
-unsigned long int *__fork_generation_pointer;
-
-
-
-/* The single linked list of all currently registered fork handlers. */
-struct fork_handler *__fork_handlers;
-
-
static void
fresetlockfiles (void)
{