about summary refs log tree commit diff
path: root/dlfcn/moddummy2.c
blob: babc8f3380319c9fb7cbc056a2bec5288341b58a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* 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;
}