diff options
Diffstat (limited to 'lib/libkse')
-rw-r--r-- | lib/libkse/thread/thr_fcntl.c | 1 | ||||
-rw-r--r-- | lib/libkse/thread/thr_fork.c | 1 | ||||
-rw-r--r-- | lib/libkse/thread/thr_kern.c | 3 | ||||
-rw-r--r-- | lib/libkse/thread/thr_mutex.c | 1 | ||||
-rw-r--r-- | lib/libkse/thread/thr_sig.c | 4 | ||||
-rw-r--r-- | lib/libkse/thread/thr_write.c | 3 |
6 files changed, 2 insertions, 11 deletions
diff --git a/lib/libkse/thread/thr_fcntl.c b/lib/libkse/thread/thr_fcntl.c index eecda60..6ea013a 100644 --- a/lib/libkse/thread/thr_fcntl.c +++ b/lib/libkse/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/libkse/thread/thr_fork.c b/lib/libkse/thread/thr_fork.c index d2b6726..d56f98d 100644 --- a/lib/libkse/thread/thr_fork.c +++ b/lib/libkse/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/libkse/thread/thr_kern.c b/lib/libkse/thread/thr_kern.c index 32d0a76..ce17cf8 100644 --- a/lib/libkse/thread/thr_kern.c +++ b/lib/libkse/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/libkse/thread/thr_mutex.c b/lib/libkse/thread/thr_mutex.c index 0461278..4f4aa8a 100644 --- a/lib/libkse/thread/thr_mutex.c +++ b/lib/libkse/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/libkse/thread/thr_sig.c b/lib/libkse/thread/thr_sig.c index be3da9a..d0d5f8b 100644 --- a/lib/libkse/thread/thr_sig.c +++ b/lib/libkse/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/libkse/thread/thr_write.c b/lib/libkse/thread/thr_write.c index 7aad66b1..23cef52 100644 --- a/lib/libkse/thread/thr_write.c +++ b/lib/libkse/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; |