ubuntu-buildroot/output/build/glibc-2.36-81-g4f4d7a13edfd.../dlfcn/bug-dlsym1-lib1.c

12 lines
210 B
C
Raw Normal View History

2024-04-01 15:19:46 +00:00
/* Test module for bug-dlsym1.c test case. */
extern int dlopen_test_variable;
extern char foo (void);
/* here to get the unresolved symbol in our .so */
char foo(void)
{
return dlopen_test_variable;
}