function results (void)'ed for minor lint
authorBill Joy <bill@ucbvax.Berkeley.EDU>
Mon, 10 Nov 1980 15:35:17 +0000 (07:35 -0800)
committerBill Joy <bill@ucbvax.Berkeley.EDU>
Mon, 10 Nov 1980 15:35:17 +0000 (07:35 -0800)
SCCS-vsn: sys/kern/subr_prf.c 4.3
SCCS-vsn: sys/kern/init_main.c 4.2
SCCS-vsn: sys/kern/kern_synch.c 4.2
SCCS-vsn: sys/kern/kern_proc.c 4.2
SCCS-vsn: sys/vax/vax/trap.c 4.2

usr/src/sys/kern/init_main.c
usr/src/sys/kern/kern_proc.c
usr/src/sys/kern/kern_synch.c
usr/src/sys/kern/subr_prf.c
usr/src/sys/vax/vax/trap.c

index 298936a..a3f5660 100644 (file)
@@ -1,4 +1,4 @@
-/*     init_main.c     4.1     %G%     */
+/*     init_main.c     4.2     %G%     */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -121,7 +121,7 @@ main(firstaddr)
        proc[0].p_szpt = CLSIZE;
        if (newproc(0)) {
                expand(clrnd((int)btoc(szicode)), P0BR);
        proc[0].p_szpt = CLSIZE;
        if (newproc(0)) {
                expand(clrnd((int)btoc(szicode)), P0BR);
-               swpexpand(u.u_dsize, 0, &u.u_dmap, &u.u_smap);
+               (void) swpexpand(u.u_dsize, 0, &u.u_dmap, &u.u_smap);
                (void) copyout((caddr_t)icode, (caddr_t)0, (unsigned)szicode);
                /*
                 * Return goes to loc. 0 of user init
                (void) copyout((caddr_t)icode, (caddr_t)0, (unsigned)szicode);
                /*
                 * Return goes to loc. 0 of user init
index 6e29b59..266e2c4 100644 (file)
@@ -1,4 +1,4 @@
-/*     kern_proc.c     4.1     %G%     */
+/*     kern_proc.c     4.2     %G%     */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -491,7 +491,7 @@ done:
                         * tty signals, clear TSTP/TTIN/TTOU if pending,
                         * and set SDETACH bit on procs.
                         */
                         * tty signals, clear TSTP/TTIN/TTOU if pending,
                         * and set SDETACH bit on procs.
                         */
-                       spgrp(q, -1);
+                       (void) spgrp(q, -1);
                }
        wakeup((caddr_t)p->p_pptr);
        psignal(p->p_pptr, SIGCHLD);
                }
        wakeup((caddr_t)p->p_pptr);
        psignal(p->p_pptr, SIGCHLD);
index 746f983..fb60ea1 100644 (file)
@@ -1,4 +1,4 @@
-/*     kern_synch.c    4.1     %G%     */
+/*     kern_synch.c    4.2     %G%     */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -376,7 +376,7 @@ retry:
        if (procdup(rpp, isvfork))
                return (1);
 
        if (procdup(rpp, isvfork))
                return (1);
 
-       spl6();
+       (void) spl6();
        rpp->p_stat = SRUN;
        setrq(rpp);
        spl0();
        rpp->p_stat = SRUN;
        setrq(rpp);
        spl0();
index 3260694..bc54241 100644 (file)
@@ -1,4 +1,4 @@
-/*     subr_prf.c      4.2     %G%     */
+/*     subr_prf.c      4.3     %G%     */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -128,7 +128,7 @@ char *s;
 {
        panicstr = s;
        printf("panic: %s\n", s);
 {
        panicstr = s;
        printf("panic: %s\n", s);
-       spl0();
+       (void) spl0();
        for(;;)
                boot(RB_PANIC, RB_AUTOBOOT);
 }
        for(;;)
                boot(RB_PANIC, RB_AUTOBOOT);
 }
index c893c63..963b940 100644 (file)
@@ -1,4 +1,4 @@
-/*     trap.c  4.1     %G%     */
+/*     trap.c  4.2     %G%     */
 
 
 #include "../h/param.h"
 
 
 #include "../h/param.h"
@@ -114,7 +114,7 @@ out:
                 * swtch()'ed, we might not be on the queue indicated by
                 * our priority.
                 */
                 * swtch()'ed, we might not be on the queue indicated by
                 * our priority.
                 */
-               spl6();
+               (void) spl6();
                setrq(p);
                swtch();
        }
                setrq(p);
                swtch();
        }
@@ -198,7 +198,7 @@ bad:
                 * swtch()'ed, we might not be on the queue indicated by
                 * our priority.
                 */
                 * swtch()'ed, we might not be on the queue indicated by
                 * our priority.
                 */
-               spl6();
+               (void) spl6();
                setrq(p);
                swtch();
        }
                setrq(p);
                swtch();
        }