diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-31 21:48:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-31 21:48:11 +0000 |
commit | 8deaa5cb1bdad9c4505896866607f4272b307e9a (patch) | |
tree | f2b66a24b21f1edc23c12fdb15eab63814fc036d /regress/lib/libpthread/pthread_join | |
parent | 1472e2b5666bd9c64d37882b7cfb2596d9352eb3 (diff) |
various cleanups; david says results are same
Diffstat (limited to 'regress/lib/libpthread/pthread_join')
-rw-r--r-- | regress/lib/libpthread/pthread_join/pthread_join.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/regress/lib/libpthread/pthread_join/pthread_join.c b/regress/lib/libpthread/pthread_join/pthread_join.c index 2bda5a4045b..e77a1a0bce4 100644 --- a/regress/lib/libpthread/pthread_join/pthread_join.c +++ b/regress/lib/libpthread/pthread_join/pthread_join.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pthread_join.c,v 1.2 2001/09/20 16:43:15 todd Exp $ */ +/* $OpenBSD: pthread_join.c,v 1.3 2003/07/31 21:48:05 deraadt Exp $ */ /* * Copyright (c) 1993, 1994, 1995, 1996 by Chris Provenzano and contributors, * proven@mit.edu All rights reserved. @@ -48,7 +48,8 @@ #include "test.h" /* This thread yields so the creator has a live thread to wait on */ -void* new_thread_1(void * new_buf) +static void * +new_thread_1(void * new_buf) { int i; @@ -60,7 +61,8 @@ void* new_thread_1(void * new_buf) } /* This thread doesn't yield so the creator has a dead thread to wait on */ -void* new_thread_2(void * new_buf) +static void * +new_thread_2(void * new_buf) { int i; @@ -70,7 +72,7 @@ void* new_thread_2(void * new_buf) } int -main() +main(int argc, char *argv[]) { char buf[256], *status; pthread_t thread; |