about summary refs log tree commit diff
path: root/dlfcn/moddummy2.c
blob: cb4edc8da7fa446123f06b38cd8ac5c736b1b5cd (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 (becuase of some error)
     then tst-rec-dlopen will see a value of -1 as the returned
     result and fail.  */
  return -1;
}