mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
14 lines
314 B
C
14 lines
314 B
C
/* Provide a dummy DSO for tst-rec-dlopen to use. */
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
int
|
|
dummy2 (void)
|
|
{
|
|
printf ("Called dummy2()\n");
|
|
/* If the outer dlopen is not dummy1 (because of some error)
|
|
then tst-rec-dlopen will see a value of -1 as the returned
|
|
result and fail. */
|
|
return -1;
|
|
}
|