glibc/elf/tst-order-main.c
Arjun Shankar c1f4108352 Modify several tests to use test-skeleton.c
These tests were skipped by the use-test-skeleton conversion done in
commit 29955b5d because they did not have an `int main (void)'
declaration. Instead their `main' functions were declared with arguments
(i.e. argc, argv) even though they didn't use them.

Remove these arguments and include the test skeleton in these tests.
2015-08-06 02:59:04 -04:00

14 lines
198 B
C

#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
static int
do_test (void)
{
printf( "main\n" );
exit(EXIT_SUCCESS);
}
#define TEST_FUNCTION do_test ()
#include "../test-skeleton.c"