repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
s390: Use dl-symbol-redir-ifunc.h on cpu-tunables
[glibc.git]
/
dlfcn
/
moddummy2.c
blob
babc8f3380319c9fb7cbc056a2bec5288341b58a
1
/* Provide a dummy DSO for tst-rec-dlopen to use. */
2
#include <stdio.h>
3
#include <stdlib.h>
4
5
int
6
dummy2
(
void
)
7
{
8
printf
(
"Called dummy2()
\n
"
);
9
/* If the outer dlopen is not dummy1 (because of some error)
10
then tst-rec-dlopen will see a value of -1 as the returned
11
result and fail. */
12
return
-
1
;
13
}