glibc/dlfcn/bug-dlsym1-lib1.c

12 lines
210 B
C
Raw Normal View History

/* Test module for bug-dlsym1.c test case. */
extern int dlopen_test_variable;
2002-08-23 16:52:49 +08:00
extern char foo (void);
/* here to get the unresolved symbol in our .so */
2002-08-23 16:52:49 +08:00
char foo(void)
{
return dlopen_test_variable;
}