The branch main has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=ef221ff645322f0ec147c706652744869774e128

commit ef221ff645322f0ec147c706652744869774e128
Author:     Mark Johnston <ma...@freebsd.org>
AuthorDate: 2022-07-13 13:57:28 +0000
Commit:     Mark Johnston <ma...@freebsd.org>
CommitDate: 2022-07-13 13:57:28 +0000

    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 8e7c4c12fc97..658f6df0b386 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 f4b3421b76ba..e4d7a949945d 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);

Reply via email to