Date: Wed, 20 Jul 2022 14:02:12 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: ebaf28a393ab - stable/13 - time: Make realitexpire() local to kern_time.c Message-ID: <202207201402.26KE2CIP010011@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=ebaf28a393ab6658a7151448bb30e98322665db0 commit ebaf28a393ab6658a7151448bb30e98322665db0 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2022-07-13 13:57:28 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2022-07-20 13:53:31 +0000 time: Make realitexpire() local to kern_time.c Sponsored by: The FreeBSD Foundation (cherry picked from commit ef221ff645322f0ec147c706652744869774e128) --- 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 aa7060c7cb7f..8b103c6fe729 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); @@ -940,7 +942,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 0820bdcde676..b2b84d0fc722 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -338,8 +338,6 @@ int casueword32(volatile uint32_t *base, uint32_t oldval, uint32_t *oldvalp, int casueword(volatile u_long *p, u_long oldval, u_long *oldvalp, u_long newval); -void realitexpire(void *); - int sysbeep(int hertz, sbintime_t duration); void hardclock(int cnt, int usermode);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207201402.26KE2CIP010011>