From 151dfe9971ac2bd4d9afb440f2a5b2a4f9a58969 Mon Sep 17 00:00:00 2001 From: Guy-Fleury Iteriteka Date: Thu, 26 May 2022 18:07:41 +0200 Subject: convert K&R into ansi Message-Id: --- kern/machine.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'kern/machine.c') diff --git a/kern/machine.c b/kern/machine.c index 2fe30cee..0e1781cc 100644 --- a/kern/machine.c +++ b/kern/machine.c @@ -125,9 +125,7 @@ void cpu_down(int cpu) } kern_return_t -host_reboot(host, options) - const host_t host; - int options; +host_reboot(const host_t host, int options) { if (host == HOST_NULL) return (KERN_INVALID_HOST); @@ -623,8 +621,7 @@ Restart_pset: * running on the processor's shutdown stack. */ -void processor_doshutdown(processor) -processor_t processor; +void processor_doshutdown(processor_t processor) { int cpu = processor->slot_num; -- cgit v1.2.3