Credit Ulrich Drepper for libpthread in contrib.texi
[glibc.git] / dlfcn / moddummy2.c
blobcb4edc8da7fa446123f06b38cd8ac5c736b1b5cd
1 /* Provide a dummy DSO for tst-rec-dlopen to use. */
2 #include <stdio.h>
3 #include <stdlib.h>
5 int
6 dummy2 (void)
8 printf ("Called dummy2()\n");
9 /* If the outer dlopen is not dummy1 (becuase of some error)
10 then tst-rec-dlopen will see a value of -1 as the returned
11 result and fail. */
12 return -1;