summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/nptl/tst-atfork2mod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nptl/tst-atfork2mod.c b/test/nptl/tst-atfork2mod.c
index 7c592b4..8259721 100644
--- a/test/nptl/tst-atfork2mod.c
+++ b/test/nptl/tst-atfork2mod.c
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
+extern void *__dso_handle __attribute__ ((__weak__));
extern int val;
@@ -46,7 +47,6 @@ static void
__attribute__ ((constructor))
init (void)
{
- extern void *__dso_handle;
printf ("dsohandle = %p\n", __dso_handle);
if (pthread_atfork (prepare, parent, child) != 0)