summaryrefslogtreecommitdiff
path: root/sys/kern/kern_time.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2018-05-28 18:05:43 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2018-05-28 18:05:43 +0000
commite5fd359552a5926faf575c3645451d5df40e7efe (patch)
tree9dac3295f4bdff8e45cffdac400fb992bd050a74 /sys/kern/kern_time.c
parent5653eb3789727e127d7eb698efe3e612e68c1241 (diff)
Constipate a bunch of time functions
ok tb@ kettenis@
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 8d6a8333f38..5925c021f04 100644
--- a/sys/kern/kern_time.c
+++ b/sys/kern/kern_time.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_time.c,v 1.102 2018/05/22 18:33:41 cheloha Exp $ */
+/* $OpenBSD: kern_time.c,v 1.103 2018/05/28 18:05:42 guenther Exp $ */
/* $NetBSD: kern_time.c,v 1.20 1996/02/18 11:57:06 fvdl Exp $ */
/*
@@ -63,7 +63,7 @@ int64_t adjtimedelta; /* unapplied time correction (microseconds) */
/* This function is used by clock_settime and settimeofday */
int
-settime(struct timespec *ts)
+settime(const struct timespec *ts)
{
struct timespec now;