summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-08-15 23:53:18 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-08-15 23:53:18 +0000
commit71596218b1883e024afa8cb640fbe1e3d584b85e (patch)
tree9e74ad43f1c85c3a40831c077c8602551fa5111e
parentf6a240893957e0de277ee1b8633f7afe0e14425e (diff)
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;