about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2017-05-18 18:08:06 +0200
committerAndreas Schwab <schwab@suse.de>2017-05-31 09:45:38 +0200
commitcfa9bb61cd09c40def96f042a3123ec0093c4ad0 (patch)
treef440f749958d445c5d90675482c04df635b1c4c8 /nptl
parent4158ba082c641f407009363b186b4c85f8a01a35 (diff)
downloadglibc-cfa9bb61cd09c40def96f042a3123ec0093c4ad0.tar.gz
glibc-cfa9bb61cd09c40def96f042a3123ec0093c4ad0.tar.xz
glibc-cfa9bb61cd09c40def96f042a3123ec0093c4ad0.zip
Use test-driver in nptl/tst-fork3.c
Diffstat (limited to 'nptl')
-rw-r--r--nptl/tst-fork3.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/nptl/tst-fork3.c b/nptl/tst-fork3.c
index 8fee264436..33d93f2a04 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>