diff options
author | Andreas Schwab <schwab@suse.de> | 2017-05-18 18:08:06 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2017-05-31 09:45:38 +0200 |
commit | cfa9bb61cd09c40def96f042a3123ec0093c4ad0 (patch) | |
tree | f440f749958d445c5d90675482c04df635b1c4c8 | |
parent | 4158ba082c641f407009363b186b4c85f8a01a35 (diff) | |
download | glibc-cfa9bb61cd09c40def96f042a3123ec0093c4ad0.zip glibc-cfa9bb61cd09c40def96f042a3123ec0093c4ad0.tar.gz glibc-cfa9bb61cd09c40def96f042a3123ec0093c4ad0.tar.bz2 |
Use test-driver in nptl/tst-fork3.c
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | nptl/tst-fork3.c | 6 |
2 files changed, 9 insertions, 2 deletions
@@ -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 diff --git a/nptl/tst-fork3.c b/nptl/tst-fork3.c index 8fee264..33d93f2 100644 --- a/nptl/tst-fork3.c +++ b/nptl/tst-fork3.c @@ -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> |