Fix missing libc-internal.h include.
[glibc.git] / elf / testobj5.c
blob9675cad88d1cd60881ab2aec2c521035e795a14c
1 #include <dlfcn.h>
2 #include <stdlib.h>
4 #include "testobj.h"
7 int
8 obj5func1 (int a __attribute__ ((unused)))
10 return 66;
13 int
14 obj5func2 (int a)
16 return foo (a) + 44;
19 int
20 preload (int a)
22 int (*fp) (int) = dlsym (RTLD_NEXT, "preload");
23 if (fp != NULL)
24 return fp (a) + 10;
25 return 10;