Use test-driver in nptl/tst-fork3.c

This commit is contained in:
Andreas Schwab 2017-05-18 18:08:06 +02:00
parent 4158ba082c
commit cfa9bb61cd
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2017-05-31 Andreas Schwab <schwab@suse.de>
* nptl/tst-fork3.c: Include <support/test-driver.c>.
(main): Rename to do_test and make static.
2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
* csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define

View File

@ -87,8 +87,8 @@ tf1 (void *arg)
}
int
main (void)
static int
do_test (void)
{
initial_pid = getpid ();
@ -104,3 +104,5 @@ main (void)
return 1;
}
#include <support/test-driver.c>