#include <dlfcn.h>
#include <stdio.h>
+extern int found_in_mod1 (void);
int
found_in_mod1 (void)
{
}
+extern int test_in_mod1 (void *mainp);
int
test_in_mod1 (void *mainp)
{
#include <dlfcn.h>
#include <stdio.h>
+extern int found_in_mod1 (void);
int
found_in_mod1 (void)
{
return 1;
}
+extern int found_in_mod2 (void);
int
found_in_mod2 (void)
{
}
+extern int test_in_mod2 (void *mainp);
int
test_in_mod2 (void *mainp)
{
}
+extern void *__dlopen_check (const char *file, int mode);
void *
__dlopen_check (const char *file, int mode)
{
args->caller);
}
+extern void *__dlopen_nocheck (const char *file, int mode);
void *
__dlopen_nocheck (const char *file, int mode)
{
#include <stdio.h>
+extern void constr (void) __attribute__ ((__constructor__));
void
__attribute__ ((__constructor__))
constr (void)
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+extern int ref1 (void);
int
ref1 (void)
{
extern int ref1 (void);
+extern int ref2 (void);
int
ref2 (void)
{