diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2020-09-07 04:52:21 +0200 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2020-09-07 04:52:21 +0200 |
| commit | 0ee9b3bd8d7c6206136e45136060778bc0c55efb (patch) | |
| tree | 9a0c33df780baed51dfc3c5aa3188cafab704d5a /test | |
| parent | 228705daef79000f56c99e9a17d4fed952164164 (diff) | |
fix gcc10 issue
Diffstat (limited to 'test')
| -rw-r--r-- | test/nptl/tst-atfork2mod.c | 2 |
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) |
