summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>2000-01-06 07:15:06 +0000
committerDavid Leonard <d@cvs.openbsd.org>2000-01-06 07:15:06 +0000
commit563dee9fbe56acd9322ec2e26094803701682ce5 (patch)
treec54a404d9ddae83b4b189e5af35003fd37d45997 /lib
parent2d445d163e3f5a80aa1fce86b5e69a93fdc4dd3f (diff)
unused vars
Diffstat (limited to 'lib')
-rw-r--r--lib/libc_r/uthread/uthread_create.c4
-rw-r--r--lib/libc_r/uthread/uthread_detach.c3
-rw-r--r--lib/libpthread/uthread/uthread_create.c4
-rw-r--r--lib/libpthread/uthread/uthread_detach.c3
4 files changed, 4 insertions, 10 deletions
diff --git a/lib/libc_r/uthread/uthread_create.c b/lib/libc_r/uthread/uthread_create.c
index 9fc67e94227..3a9499d0a1c 100644
--- a/lib/libc_r/uthread/uthread_create.c
+++ b/lib/libc_r/uthread/uthread_create.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_create.c,v 1.12 1999/11/30 04:51:56 d Exp $ */
+/* $OpenBSD: uthread_create.c,v 1.13 2000/01/06 07:15:05 d Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>
* All rights reserved.
@@ -50,9 +50,7 @@ pthread_create(pthread_t * thread, const pthread_attr_t * attr,
void *(*start_routine) (void *), void *arg)
{
int f_gc = 0;
- int i;
int ret = 0;
- int status;
pthread_t gc_thread;
pthread_t new_thread;
pthread_attr_t pattr;
diff --git a/lib/libc_r/uthread/uthread_detach.c b/lib/libc_r/uthread/uthread_detach.c
index 181f73b942f..d6accdc13cf 100644
--- a/lib/libc_r/uthread/uthread_detach.c
+++ b/lib/libc_r/uthread/uthread_detach.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_detach.c,v 1.5 1999/11/25 07:01:33 d Exp $ */
+/* $OpenBSD: uthread_detach.c,v 1.6 2000/01/06 07:15:05 d Exp $ */
/*
* Copyright (c) 1995 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
@@ -41,7 +41,6 @@ int
pthread_detach(pthread_t pthread)
{
int rval = 0;
- int status;
pthread_t next_thread;
/* Check for invalid calling parameters: */
diff --git a/lib/libpthread/uthread/uthread_create.c b/lib/libpthread/uthread/uthread_create.c
index 9fc67e94227..3a9499d0a1c 100644
--- a/lib/libpthread/uthread/uthread_create.c
+++ b/lib/libpthread/uthread/uthread_create.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_create.c,v 1.12 1999/11/30 04:51:56 d Exp $ */
+/* $OpenBSD: uthread_create.c,v 1.13 2000/01/06 07:15:05 d Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>
* All rights reserved.
@@ -50,9 +50,7 @@ pthread_create(pthread_t * thread, const pthread_attr_t * attr,
void *(*start_routine) (void *), void *arg)
{
int f_gc = 0;
- int i;
int ret = 0;
- int status;
pthread_t gc_thread;
pthread_t new_thread;
pthread_attr_t pattr;
diff --git a/lib/libpthread/uthread/uthread_detach.c b/lib/libpthread/uthread/uthread_detach.c
index 181f73b942f..d6accdc13cf 100644
--- a/lib/libpthread/uthread/uthread_detach.c
+++ b/lib/libpthread/uthread/uthread_detach.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_detach.c,v 1.5 1999/11/25 07:01:33 d Exp $ */
+/* $OpenBSD: uthread_detach.c,v 1.6 2000/01/06 07:15:05 d Exp $ */
/*
* Copyright (c) 1995 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
@@ -41,7 +41,6 @@ int
pthread_detach(pthread_t pthread)
{
int rval = 0;
- int status;
pthread_t next_thread;
/* Check for invalid calling parameters: */