diff options
Diffstat (limited to 'elf/tst-order-main.c')
-rw-r--r-- | elf/tst-order-main.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/elf/tst-order-main.c b/elf/tst-order-main.c index 80f4f6be18..339778a93a 100644 --- a/elf/tst-order-main.c +++ b/elf/tst-order-main.c @@ -2,9 +2,12 @@ #include <unistd.h> #include <stdlib.h> -int -main( int argc, char *argv[] ) +static int +do_test (void) { printf( "main\n" ); exit(EXIT_SUCCESS); } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |