diff options
author | 2003-07-31 21:48:02 +0000 | |
---|---|---|
committer | 2003-07-31 21:48:02 +0000 | |
commit | db3296cf5c1dd9058ceecc3a29fe4aaa0bd26000 (patch) | |
tree | 24a628e1f5d78508c3b3f7895685e06ffb25a794 /regress/lib/libpthread/pthread_kill/pthread_kill.c | |
parent | delint (diff) | |
download | wireguard-openbsd-db3296cf5c1dd9058ceecc3a29fe4aaa0bd26000.tar.xz wireguard-openbsd-db3296cf5c1dd9058ceecc3a29fe4aaa0bd26000.zip |
various cleanups; david says results are same
Diffstat (limited to 'regress/lib/libpthread/pthread_kill/pthread_kill.c')
-rw-r--r-- | regress/lib/libpthread/pthread_kill/pthread_kill.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/regress/lib/libpthread/pthread_kill/pthread_kill.c b/regress/lib/libpthread/pthread_kill/pthread_kill.c index 56d4b288294..a4a63d15538 100644 --- a/regress/lib/libpthread/pthread_kill/pthread_kill.c +++ b/regress/lib/libpthread/pthread_kill/pthread_kill.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pthread_kill.c,v 1.3 2003/06/19 00:59:54 pvalchev Exp $ */ +/* $OpenBSD: pthread_kill.c,v 1.4 2003/07/31 21:48:05 deraadt Exp $ */ /* PUBLIC DOMAIN Oct 2002 <marc@snafu.org> */ /* @@ -10,10 +10,11 @@ #include <signal.h> #include <stdio.h> #include <unistd.h> +#include <stdlib.h> #include "test.h" -void +static void act_handler(int signal, siginfo_t *siginfo, void *context) { struct sigaction sa; @@ -28,7 +29,7 @@ act_handler(int signal, siginfo_t *siginfo, void *context) free(str); } -void * +static void * thread(void * arg) { sigset_t run_mask; |