From 4c8218a5c7d132b8ae0bd2a5a677455d69fabaab Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 6 Nov 1997 19:29:57 +0000 Subject: Move the "retval" (3rd) parameter from all syscall functions and put it in struct proc instead. This fixes a boatload of compiler warning, and removes a lot of cruft from the sources. I have not removed the /*ARGSUSED*/, they will require some looking at. libkvm, ps and other userland struct proc frobbing programs will need recompiled. --- sys/kern/kern_shutdown.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sys/kern/kern_shutdown.c') diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c index b3021aa..145dd2a 100644 --- a/sys/kern/kern_shutdown.c +++ b/sys/kern/kern_shutdown.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_shutdown.c 8.3 (Berkeley) 1/21/94 - * $Id: kern_shutdown.c,v 1.23 1997/09/02 20:05:41 bde Exp $ + * $Id: kern_shutdown.c,v 1.24 1997/09/05 08:54:55 peter Exp $ */ #include "opt_ddb.h" @@ -132,10 +132,9 @@ struct reboot_args { * The system call that results in a reboot */ int -reboot(p, uap, retval) +reboot(p, uap) struct proc *p; struct reboot_args *uap; - int *retval; { int error; @@ -215,7 +214,7 @@ boot(howto) waittime = 0; printf("\nsyncing disks... "); - sync(&proc0, NULL, NULL); + sync(&proc0, NULL); for (iter = 0; iter < 20; iter++) { nbusy = 0; -- cgit v1.1