summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2001-08-15 23:53:17 +0000
committerfgsch <fgsch@openbsd.org>2001-08-15 23:53:17 +0000
commitfea9122e020c440038c3d49f6a3a802dd757a9e5 (patch)
treee40b33271f9acb8139e78eae7361e3ee84af4687
parent* kevent(2) support; from FreeBSD. (diff)
downloadwireguard-openbsd-fea9122e020c440038c3d49f6a3a802dd757a9e5.tar.xz
wireguard-openbsd-fea9122e020c440038c3d49f6a3a802dd757a9e5.zip
ops, _thread_kern_set_timeout() to const.
-rw-r--r--lib/libc_r/uthread/uthread_kern.c4
-rw-r--r--lib/libpthread/uthread/uthread_kern.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc_r/uthread/uthread_kern.c b/lib/libc_r/uthread/uthread_kern.c
index 7b723ba8ddd..016dfc90a69 100644
--- a/lib/libc_r/uthread/uthread_kern.c
+++ b/lib/libc_r/uthread/uthread_kern.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_kern.c,v 1.11 2001/01/16 04:51:07 d Exp $ */
+/* $OpenBSD: uthread_kern.c,v 1.12 2001/08/15 23:53:17 fgsch Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>
* All rights reserved.
@@ -961,7 +961,7 @@ _thread_kern_poll(int wait_reqd)
}
void
-_thread_kern_set_timeout(struct timespec * timeout)
+_thread_kern_set_timeout(const struct timespec * timeout)
{
struct timespec current_time;
struct timeval tv;
diff --git a/lib/libpthread/uthread/uthread_kern.c b/lib/libpthread/uthread/uthread_kern.c
index 7b723ba8ddd..016dfc90a69 100644
--- a/lib/libpthread/uthread/uthread_kern.c
+++ b/lib/libpthread/uthread/uthread_kern.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_kern.c,v 1.11 2001/01/16 04:51:07 d Exp $ */
+/* $OpenBSD: uthread_kern.c,v 1.12 2001/08/15 23:53:17 fgsch Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>
* All rights reserved.
@@ -961,7 +961,7 @@ _thread_kern_poll(int wait_reqd)
}
void
-_thread_kern_set_timeout(struct timespec * timeout)
+_thread_kern_set_timeout(const struct timespec * timeout)
{
struct timespec current_time;
struct timeval tv;