diff options
| author | Alexander Langer <alex@FreeBSD.org> | 1998-09-07 21:55:01 +0000 |
|---|---|---|
| committer | Alexander Langer <alex@FreeBSD.org> | 1998-09-07 21:55:01 +0000 |
| commit | cecc7b0974187640c58fbd23711ff7a1874eae46 (patch) | |
| tree | 50ab7fb04258bb8fda63e32c4b818673596a88d1 /lib/libpthread | |
| parent | e66632a35c2d0c36644ac18055ae2b435e70282a (diff) | |
Notes
Diffstat (limited to 'lib/libpthread')
| -rw-r--r-- | lib/libpthread/thread/thr_fcntl.c | 1 | ||||
| -rw-r--r-- | lib/libpthread/thread/thr_fork.c | 1 | ||||
| -rw-r--r-- | lib/libpthread/thread/thr_kern.c | 3 | ||||
| -rw-r--r-- | lib/libpthread/thread/thr_mutex.c | 1 | ||||
| -rw-r--r-- | lib/libpthread/thread/thr_sig.c | 4 | ||||
| -rw-r--r-- | lib/libpthread/thread/thr_write.c | 3 |
6 files changed, 2 insertions, 11 deletions
diff --git a/lib/libpthread/thread/thr_fcntl.c b/lib/libpthread/thread/thr_fcntl.c index eecda60d8ae67..6ea013afe5d77 100644 --- a/lib/libpthread/thread/thr_fcntl.c +++ b/lib/libpthread/thread/thr_fcntl.c @@ -44,7 +44,6 @@ fcntl(int fd, int cmd,...) int nonblock; int oldfd; int ret; - int status; va_list ap; /* Lock the file descriptor: */ diff --git a/lib/libpthread/thread/thr_fork.c b/lib/libpthread/thread/thr_fork.c index d2b6726aae66f..d56f98d166f29 100644 --- a/lib/libpthread/thread/thr_fork.c +++ b/lib/libpthread/thread/thr_fork.c @@ -42,7 +42,6 @@ pid_t fork(void) { int flags; - int status; pid_t ret; pthread_t pthread; pthread_t pthread_next; diff --git a/lib/libpthread/thread/thr_kern.c b/lib/libpthread/thread/thr_kern.c index 32d0a767874f0..ce17cf85343cb 100644 --- a/lib/libpthread/thread/thr_kern.c +++ b/lib/libpthread/thread/thr_kern.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: uthread_kern.c,v 1.10 1998/04/29 09:59:02 jb Exp $ + * $Id: uthread_kern.c,v 1.11 1998/04/30 21:50:29 jb Exp $ * */ #include <errno.h> @@ -59,7 +59,6 @@ _thread_kern_sched(struct sigcontext * scp) #ifndef __alpha__ char *fdata; #endif - int i; int prio = -1; pthread_t pthread; pthread_t pthread_h = NULL; diff --git a/lib/libpthread/thread/thr_mutex.c b/lib/libpthread/thread/thr_mutex.c index 0461278692f5e..4f4aa8af041e6 100644 --- a/lib/libpthread/thread/thr_mutex.c +++ b/lib/libpthread/thread/thr_mutex.c @@ -46,7 +46,6 @@ pthread_mutex_init(pthread_mutex_t * mutex, enum pthread_mutextype type; pthread_mutex_t pmutex; int ret = 0; - int status; if (mutex == NULL) { ret = EINVAL; diff --git a/lib/libpthread/thread/thr_sig.c b/lib/libpthread/thread/thr_sig.c index be3da9a279370..d0d5f8bf359e1 100644 --- a/lib/libpthread/thread/thr_sig.c +++ b/lib/libpthread/thread/thr_sig.c @@ -105,7 +105,6 @@ _thread_sig_handler(int sig, int code, struct sigcontext * scp) { char c; int i; - int dispatch = 0; pthread_t pthread; /* @@ -234,9 +233,6 @@ _thread_sig_handler(int sig, int code, struct sigcontext * scp) void _thread_signal(pthread_t pthread, int sig) { - pthread_t saved; - struct sigaction act; - /* * Flag the signal as pending. It will be dispatched later. */ diff --git a/lib/libpthread/thread/thr_write.c b/lib/libpthread/thread/thr_write.c index 7aad66b1328f2..23cef52b6f2da 100644 --- a/lib/libpthread/thread/thr_write.c +++ b/lib/libpthread/thread/thr_write.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: uthread_write.c,v 1.8 1998/06/10 22:28:45 jb Exp $ + * $Id: uthread_write.c,v 1.9 1998/06/14 09:36:11 jb Exp $ * */ #include <sys/types.h> @@ -45,7 +45,6 @@ ssize_t write(int fd, const void *buf, size_t nbytes) { int blocking; - int status; int type; ssize_t n; ssize_t num = 0; |
