From 84e0fb3f287864eca3a9322ef364b913f6a260bd Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sun, 25 Dec 2022 20:41:46 -0500 Subject: Fix some warnings with -Wmissing-prototypes. Marked some functions as static (private) as needed and added missing includes. This also revealed some dead code which was removed. Note that -Wmissing-prototypes is not enabled here since there is a bunch more warnings. Message-Id: --- kern/mach_clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/mach_clock.c') diff --git a/kern/mach_clock.c b/kern/mach_clock.c index 3a568647..6f964f73 100644 --- a/kern/mach_clock.c +++ b/kern/mach_clock.c @@ -405,7 +405,7 @@ struct time_value clock_boottime_offset; * This function must be called when the real-time clock is updated. * This function must be called at SPLHIGH. */ -void +static void clock_boottime_update(struct time_value *new_time) { struct time_value delta = time; -- cgit v1.2.3