aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
Diffstat (limited to 'nptl')
-rw-r--r--nptl/tst-eintr1.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/nptl/tst-eintr1.c b/nptl/tst-eintr1.c
index b60b796..11404ff 100644
--- a/nptl/tst-eintr1.c
+++ b/nptl/tst-eintr1.c
@@ -43,6 +43,7 @@ tf1 (void *arg)
pthread_t th = xpthread_create (NULL, tf2, NULL);
xpthread_join (th);
}
+ return NULL;
}
@@ -53,9 +54,7 @@ do_test (void)
int i;
for (i = 0; i < 10; ++i)
- {
- pthread_t th = xpthread_create (NULL, tf1, NULL);
- }
+ xpthread_create (NULL, tf1, NULL);
delayed_exit (3);
/* This call must never return. */