summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc_r/uthread/uthread_gc.c5
-rw-r--r--lib/libpthread/uthread/uthread_gc.c5
2 files changed, 4 insertions, 6 deletions
diff --git a/lib/libc_r/uthread/uthread_gc.c b/lib/libc_r/uthread/uthread_gc.c
index af78d0f6f98..954a09e03df 100644
--- a/lib/libc_r/uthread/uthread_gc.c
+++ b/lib/libc_r/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;
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;