diff options
Diffstat (limited to 'elf/tst-global1.c')
-rw-r--r-- | elf/tst-global1.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/elf/tst-global1.c b/elf/tst-global1.c index 1611b51b67..4df335c637 100644 --- a/elf/tst-global1.c +++ b/elf/tst-global1.c @@ -1,8 +1,8 @@ #include <dlfcn.h> #include <stdio.h> -int -main (void) +static int +do_test (void) { void *h1 = dlopen ("$ORIGIN/testobj6.so", RTLD_GLOBAL|RTLD_LAZY); if (h1 == NULL) @@ -34,3 +34,6 @@ main (void) return 0; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |