From ef221ff645322f0ec147c706652744869774e128 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Wed, 13 Jul 2022 09:57:28 -0400 Subject: [PATCH] time: Make realitexpire() local to kern_time.c MFC after: 1 week Sponsored by: The FreeBSD Foundation --- sys/kern/kern_time.c | 4 +++- sys/sys/systm.h | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/kern_time.c b/sys/kern/kern_time.c index 8e7c4c12fc9..658f6df0b38 100644 --- a/sys/kern/kern_time.c +++ b/sys/kern/kern_time.c @@ -108,6 +108,8 @@ static void realtimer_clocktime(clockid_t, struct timespec *); static void realtimer_expire(void *); static void realtimer_expire_l(struct itimer *it, bool proc_locked); +static void realitexpire(void *arg); + static int register_posix_clock(int, const struct kclock *); static void itimer_fire(struct itimer *it); static int itimespecfix(struct timespec *ts); @@ -938,7 +940,7 @@ itimer_proc_continue(struct proc *p) * that here since we want to appear to be in sync with the clock * interrupt even when we're delayed. */ -void +static void realitexpire(void *arg) { struct proc *p; diff --git a/sys/sys/systm.h b/sys/sys/systm.h index f4b3421b76b..e4d7a949945 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -360,8 +360,6 @@ int SAN_INTERCEPTOR(casueword)(volatile u_long *p, u_long oldval, #endif /* !SAN_RUNTIME */ #endif /* SAN_NEEDS_INTERCEPTORS && !KCSAN */ -void realitexpire(void *); - int sysbeep(int hertz, sbintime_t duration); void hardclock(int cnt, int usermode);