mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 02:03:35 +08:00
c1f4108352
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.
14 lines
198 B
C
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"
|