aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
Diffstat (limited to 'nptl')
-rw-r--r--nptl/tst-fork1.c6
1 files changed, 4 insertions, 2 deletions
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 <support/test-driver.c>