]> git.ipfire.org Git - thirdparty/glibc.git/blame - dlfcn/moddummy2.c
Add a test to check for duplicate definitions in the static library
[thirdparty/glibc.git] / dlfcn / moddummy2.c
CommitLineData
ccdb048d
CD
1/* Provide a dummy DSO for tst-rec-dlopen to use. */
2#include <stdio.h>
3#include <stdlib.h>
4
5int
6dummy2 (void)
7{
8 printf ("Called dummy2()\n");
7f0d9e61 9 /* If the outer dlopen is not dummy1 (because of some error)
ccdb048d
CD
10 then tst-rec-dlopen will see a value of -1 as the returned
11 result and fail. */
12 return -1;
13}