summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_time.c')
-rw-r--r--sys/kern/kern_time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_time.c b/sys/kern/kern_time.c
index 96ed21c..9587299 100644
--- a/sys/kern/kern_time.c
+++ b/sys/kern/kern_time.c
@@ -621,7 +621,7 @@ expire:
* Caveat emptor.
*/
void
-timevaladd(struct timeval *t1, struct timeval *t2)
+timevaladd(struct timeval *t1, const struct timeval *t2)
{
t1->tv_sec += t2->tv_sec;
@@ -630,7 +630,7 @@ timevaladd(struct timeval *t1, struct timeval *t2)
}
void
-timevalsub(struct timeval *t1, struct timeval *t2)
+timevalsub(struct timeval *t1, const struct timeval *t2)
{
t1->tv_sec -= t2->tv_sec;
OpenPOWER on IntegriCloud