summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2005-12-13 06:02:02 +0000
committertedu <tedu@openbsd.org>2005-12-13 06:02:02 +0000
commit7da0060562016f87d598a43f273fe2d5a01aa3de (patch)
treede4c51cdb59c156d8f5c4b3fe4aee70b8f02255c /sys/kern
parentAdd two 100Mbit CF cards that appear to have the same chipset. (diff)
downloadwireguard-openbsd-7da0060562016f87d598a43f273fe2d5a01aa3de.tar.xz
wireguard-openbsd-7da0060562016f87d598a43f273fe2d5a01aa3de.zip
change the first arg to thrsleep and thrwakeup to a void *.
i had initially selected long since the kernel doesn't attempt to interpret this value in any way, but since it is always a pointer value in practice, this makes a little more sense. binary compat in any case. suggestion from deraadt@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/init_sysent.c2
-rw-r--r--sys/kern/syscalls.c2
-rw-r--r--sys/kern/syscalls.master6
3 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 1dc67a07456..068e321a038 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_sysent.c,v 1.89 2005/12/03 18:11:29 tedu Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.90 2005/12/13 06:02:02 tedu Exp $ */
/*
* System call switch table.
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index 95c52701cc9..dcafa078232 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscalls.c,v 1.90 2005/12/03 18:11:29 tedu Exp $ */
+/* $OpenBSD: syscalls.c,v 1.91 2005/12/13 06:02:03 tedu Exp $ */
/*
* System call names.
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 1313e320676..76ca9b08187 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1,4 +1,4 @@
-; $OpenBSD: syscalls.master,v 1.79 2005/12/03 18:09:08 tedu Exp $
+; $OpenBSD: syscalls.master,v 1.80 2005/12/13 06:02:03 tedu Exp $
; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -597,8 +597,8 @@
298 STD { int sys_sched_yield(void); }
#ifdef RTHREADS
299 STD { pid_t sys_getthrid(void); }
-300 STD { int sys_thrsleep(long ident, int timeout, void *lock); }
-301 STD { int sys_thrwakeup(long ident); }
+300 STD { int sys_thrsleep(void *ident, int timeout, void *lock); }
+301 STD { int sys_thrwakeup(void *ident); }
302 STD { int sys_threxit(int rval); }
303 STD { int sys_thrsigdivert(sigset_t sigmask); }
#else