diff options
author | David Leonard <d@cvs.openbsd.org> | 2000-01-06 07:17:24 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 2000-01-06 07:17:24 +0000 |
commit | 503e900b1d6296600e44894f55149a0140452837 (patch) | |
tree | 168fed33b91c21c69c9ab32094d5a18409e4a84f /lib/libpthread/uthread | |
parent | 60814ecd0fd5390769be2f6ae86a216319404304 (diff) |
include stdlib.h, unused vars
Diffstat (limited to 'lib/libpthread/uthread')
-rw-r--r-- | lib/libpthread/uthread/uthread_gc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libpthread/uthread/uthread_gc.c b/lib/libpthread/uthread/uthread_gc.c index af78d0f6f98..954a09e03df 100644 --- a/lib/libpthread/uthread/uthread_gc.c +++ b/lib/libpthread/uthread/uthread_gc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_gc.c,v 1.8 1999/11/30 04:59:42 d Exp $ */ +/* $OpenBSD: uthread_gc.c,v 1.9 2000/01/06 07:17:23 d Exp $ */ /* * Copyright (c) 1998 John Birrell <jb@cimlogic.com.au> * All rights reserved. @@ -36,6 +36,7 @@ * */ #include <errno.h> +#include <stdlib.h> #include <time.h> #include <unistd.h> #include <sys/types.h> @@ -53,8 +54,6 @@ _thread_gc(pthread_addr_t arg) sigset_t mask; pthread_t pthread; pthread_t pthread_cln; - pthread_t pthread_nxt; - pthread_t pthread_prv; struct timespec abstime; void *p_stack; |