summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc_r/uthread/uthread_fcntl.c1
-rw-r--r--lib/libc_r/uthread/uthread_file.c5
-rw-r--r--lib/libc_r/uthread/uthread_fork.c1
-rw-r--r--lib/libc_r/uthread/uthread_kern.c3
-rw-r--r--lib/libc_r/uthread/uthread_mutex.c1
-rw-r--r--lib/libc_r/uthread/uthread_sig.c4
-rw-r--r--lib/libc_r/uthread/uthread_write.c3
-rw-r--r--lib/libkse/thread/thr_fcntl.c1
-rw-r--r--lib/libkse/thread/thr_fork.c1
-rw-r--r--lib/libkse/thread/thr_kern.c3
-rw-r--r--lib/libkse/thread/thr_mutex.c1
-rw-r--r--lib/libkse/thread/thr_sig.c4
-rw-r--r--lib/libkse/thread/thr_write.c3
-rw-r--r--lib/libpthread/thread/thr_fcntl.c1
-rw-r--r--lib/libpthread/thread/thr_fork.c1
-rw-r--r--lib/libpthread/thread/thr_kern.c3
-rw-r--r--lib/libpthread/thread/thr_mutex.c1
-rw-r--r--lib/libpthread/thread/thr_sig.c4
-rw-r--r--lib/libpthread/thread/thr_write.c3
19 files changed, 7 insertions, 37 deletions
diff --git a/lib/libc_r/uthread/uthread_fcntl.c b/lib/libc_r/uthread/uthread_fcntl.c
index eecda60..6ea013a 100644
--- a/lib/libc_r/uthread/uthread_fcntl.c
+++ b/lib/libc_r/uthread/uthread_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/libc_r/uthread/uthread_file.c b/lib/libc_r/uthread/uthread_file.c
index 308feda..af2ed5a 100644
--- a/lib/libc_r/uthread/uthread_file.c
+++ b/lib/libc_r/uthread/uthread_file.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: uthread_file.c,v 1.3 1998/04/29 09:58:47 jb Exp $
+ * $Id: uthread_file.c,v 1.4 1998/06/09 23:20:44 jb Exp $
*
* POSIX stdio FILE locking functions. These assume that the locking
* is only required at FILE structure level, not at file descriptor
@@ -181,8 +181,6 @@ do_lock(int idx, FILE *fp)
void
_flockfile_debug(FILE * fp, char *fname, int lineno)
{
- int fd, flags;
- int status;
int idx = file_idx(fp);
struct file_lock *p;
@@ -255,7 +253,6 @@ int
_ftrylockfile(FILE * fp)
{
int ret = -1;
- int status;
int idx = file_idx(fp);
struct file_lock *p;
diff --git a/lib/libc_r/uthread/uthread_fork.c b/lib/libc_r/uthread/uthread_fork.c
index d2b6726..d56f98d 100644
--- a/lib/libc_r/uthread/uthread_fork.c
+++ b/lib/libc_r/uthread/uthread_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/libc_r/uthread/uthread_kern.c b/lib/libc_r/uthread/uthread_kern.c
index 32d0a76..ce17cf8 100644
--- a/lib/libc_r/uthread/uthread_kern.c
+++ b/lib/libc_r/uthread/uthread_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/libc_r/uthread/uthread_mutex.c b/lib/libc_r/uthread/uthread_mutex.c
index 0461278..4f4aa8a 100644
--- a/lib/libc_r/uthread/uthread_mutex.c
+++ b/lib/libc_r/uthread/uthread_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/libc_r/uthread/uthread_sig.c b/lib/libc_r/uthread/uthread_sig.c
index be3da9a..d0d5f8b 100644
--- a/lib/libc_r/uthread/uthread_sig.c
+++ b/lib/libc_r/uthread/uthread_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/libc_r/uthread/uthread_write.c b/lib/libc_r/uthread/uthread_write.c
index 7aad66b1..23cef52 100644
--- a/lib/libc_r/uthread/uthread_write.c
+++ b/lib/libc_r/uthread/uthread_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;
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;
diff --git a/lib/libpthread/thread/thr_fcntl.c b/lib/libpthread/thread/thr_fcntl.c
index eecda60..6ea013a 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 d2b6726..d56f98d 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 32d0a76..ce17cf8 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 0461278..4f4aa8a 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 be3da9a..d0d5f8b 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 7aad66b1..23cef52 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;
OpenPOWER on IntegriCloud