git: 9e33e2c5ce94 - stable/13 - posix timers: Declare unexported functions as static
Mark Johnston
markj at FreeBSD.org
Mon Mar 15 15:41:30 UTC 2021
The branch stable/13 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=9e33e2c5ce94d169c9b10393243782d56c94c4c7
commit 9e33e2c5ce94d169c9b10393243782d56c94c4c7
Author: Mark Johnston <markj at FreeBSD.org>
AuthorDate: 2021-03-08 17:39:06 +0000
Commit: Mark Johnston <markj at FreeBSD.org>
CommitDate: 2021-03-15 15:38:17 +0000
posix timers: Declare unexported functions as static
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 8ff2b41c05a8f98e30250b929e9722f714f1f319)
---
sys/kern/kern_time.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sys/kern/kern_time.c b/sys/kern/kern_time.c
index 6222bdc39bee..1d5bd2343153 100644
--- a/sys/kern/kern_time.c
+++ b/sys/kern/kern_time.c
@@ -107,8 +107,8 @@ static void realtimer_clocktime(clockid_t, struct timespec *);
static void realtimer_expire(void *);
static int register_posix_clock(int, const struct kclock *);
-void itimer_fire(struct itimer *it);
-int itimespecfix(struct timespec *ts);
+static void itimer_fire(struct itimer *it);
+static int itimespecfix(struct timespec *ts);
#define CLOCK_CALL(clock, call, arglist) \
((*posix_clocks[clock].call) arglist)
@@ -1592,7 +1592,7 @@ itimer_accept(struct proc *p, int timerid, ksiginfo_t *ksi)
return (EINVAL);
}
-int
+static int
itimespecfix(struct timespec *ts)
{
@@ -1653,7 +1653,7 @@ realtimer_expire(void *arg)
}
}
-void
+static void
itimer_fire(struct itimer *it)
{
struct proc *p = it->it_proc;
More information about the dev-commits-src-branches
mailing list