summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_time.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2018-05-28 18:05:42 +0000
committerguenther <guenther@openbsd.org>2018-05-28 18:05:42 +0000
commit24421deff7f6de72d126360c8dbde103ef61c374 (patch)
tree5f83e6dcd65b79fc5a1eea5a857d4f29d1a5052c /sys/kern/kern_time.c
parentzero memory before calling text_to_relayhost() (diff)
downloadwireguard-openbsd-24421deff7f6de72d126360c8dbde103ef61c374.tar.xz
wireguard-openbsd-24421deff7f6de72d126360c8dbde103ef61c374.zip
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;