Temporarily remove setaltroot and key*
[glibc/history.git] / elf / testobj2.c
blob6514c5639390de8435e84593f55a7e263e7f1a93
1 #include <dlfcn.h>
2 #include <stdlib.h>
4 #include "testobj.h"
6 int
7 obj2func1 (int a __attribute__ ((unused)))
9 return 43;
12 int
13 obj2func2 (int a)
15 return obj1func1 (a) + 10;
18 int
19 preload (int a)
21 int (*fp) (int) = dlsym (RTLD_NEXT, "preload");
22 if (fp != NULL)
23 return fp (a) + 10;
24 return 10;