From 3cabdafafa0cd42a86a63affd5d4fee2c10cfbf5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 11 Aug 2004 18:51:13 +0000 Subject: * sysdeps/pthread/aio_misc.c (handle_fildes_io): Remove noreturn attribute. Return NULL instead of calling pthread_exit at the end. --- nptl/tst-rwlock14.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nptl/tst-rwlock14.c') diff --git a/nptl/tst-rwlock14.c b/nptl/tst-rwlock14.c index b9611a8..fc0d3d2 100644 --- a/nptl/tst-rwlock14.c +++ b/nptl/tst-rwlock14.c @@ -38,12 +38,12 @@ tf (void *arg) exit (EXIT_FAILURE); } - pthread_barrier_wait (&b); + pthread_t mt = *(pthread_t *) arg; - pthread_t *mtp = (pthread_t *) arg; + pthread_barrier_wait (&b); /* This call will never return. */ - pthread_join (*mtp, NULL); + pthread_join (mt, NULL); return NULL; } -- cgit v1.1