Update.
[glibc.git] / elf / testobj4.c
blobd780bef0777f65cc0ada8351bbbc35b10de881ed
1 #include <dlfcn.h>
2 #include <stdlib.h>
4 int
5 obj4func1 (int a __attribute__ ((unused)))
7 return 55;
10 int
11 obj4func2 (int a)
13 return foo (a) + 43;
16 int
17 preload (int a)
19 int (*fp) (int) = dlsym (RTLD_NEXT, "preload");
20 if (fp != NULL)
21 return fp (a) + 10;
22 return 10;