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 08:52:49 +00:00
extern char foo (void);
/* here to get the unresolved symbol in our .so */
2002-08-23 08:52:49 +00:00
char foo(void)
{
return dlopen_test_variable;
}