diff options
Diffstat (limited to 'elf/tst-dlopenfailmod2.c')
-rw-r--r-- | elf/tst-dlopenfailmod2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/elf/tst-dlopenfailmod2.c b/elf/tst-dlopenfailmod2.c index cd6f9cf..ed353f9 100644 --- a/elf/tst-dlopenfailmod2.c +++ b/elf/tst-dlopenfailmod2.c @@ -16,11 +16,11 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ -#include <pthread.h> #include <stdio.h> -/* Force linking against libpthread. */ -void *pthread_create_reference = pthread_create; +/* Force linking against tst-dlopenfailnodelmod.so. */ +void no_delete_mod_function (void); +void *function_reference = no_delete_mod_function; static void __attribute__ ((constructor)) init (void) |