From faa9066c4b4a758bb97a8a38173630d821bb6db5 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 8 May 2017 17:49:59 +0200 Subject: Use test-driver in ntpl/tst-fork1.c --- nptl/tst-fork1.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'nptl/tst-fork1.c') diff --git a/nptl/tst-fork1.c b/nptl/tst-fork1.c index 9bf1132..86c0f55 100644 --- a/nptl/tst-fork1.c +++ b/nptl/tst-fork1.c @@ -64,8 +64,8 @@ thread_function (void * arg) #define N 5 static const int t[N] = { 7, 6, 5, 4, 3 }; -int -main (void) +static int +do_test (void) { pthread_t th[N]; int i; @@ -117,3 +117,5 @@ main (void) return result; } + +#include -- cgit v1.1