Adjust for __libc_res_nquery and __libc_res_nsearch interface changes.
[glibc/history.git] / elf / nodlopen2.c
bloba223f36834ce1bf99f285546329e955d23dce8ba
1 #include <dlfcn.h>
2 #include <stdio.h>
4 int
5 main (void)
7 if (dlopen ("nodlopenmod2.so", RTLD_LAZY) != NULL)
9 puts ("opening \"nodlopenmod2.so\" succeeded, FAIL");
10 return 1;
13 puts ("opening \"nodlopenmod2.so\" failed, OK");
14 return 0;