-/* init_main.c 4.1 %G% */
+/* init_main.c 4.2 %G% */
#include "../h/param.h"
#include "../h/systm.h"
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
-/* kern_proc.c 4.1 %G% */
+/* kern_proc.c 4.2 %G% */
#include "../h/param.h"
#include "../h/systm.h"
* 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);
-/* kern_synch.c 4.1 %G% */
+/* kern_synch.c 4.2 %G% */
#include "../h/param.h"
#include "../h/systm.h"
if (procdup(rpp, isvfork))
return (1);
- spl6();
+ (void) spl6();
rpp->p_stat = SRUN;
setrq(rpp);
spl0();
-/* subr_prf.c 4.2 %G% */
+/* subr_prf.c 4.3 %G% */
#include "../h/param.h"
#include "../h/systm.h"
{
panicstr = s;
printf("panic: %s\n", s);
- spl0();
+ (void) spl0();
for(;;)
boot(RB_PANIC, RB_AUTOBOOT);
}
-/* trap.c 4.1 %G% */
+/* trap.c 4.2 %G% */
#include "../h/param.h"
* swtch()'ed, we might not be on the queue indicated by
* our priority.
*/
- spl6();
+ (void) spl6();
setrq(p);
swtch();
}
* swtch()'ed, we might not be on the queue indicated by
* our priority.
*/
- spl6();
+ (void) spl6();
setrq(p);
swtch();
}