diff options
author | 1996-03-24 17:40:44 +0000 | |
---|---|---|
committer | 1996-03-24 17:40:44 +0000 | |
commit | 7f80ee6ae243c2fd0c08126f5dc7c6fb24d7e306 (patch) | |
tree | 03f56bd21d08e4180ad43b3353f7725a9f5f5497 | |
parent | The delay functions takes unsigned arguments. (diff) | |
download | wireguard-openbsd-7f80ee6ae243c2fd0c08126f5dc7c6fb24d7e306.tar.xz wireguard-openbsd-7f80ee6ae243c2fd0c08126f5dc7c6fb24d7e306.zip |
Move thread prototypes to <vm/vm_param.h> for consistency XXX
-rw-r--r-- | sys/sys/proc.h | 8 | ||||
-rw-r--r-- | sys/vm/vm_param.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h index e3d947750b2..2ed7a330f6d 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: proc.h,v 1.3 1996/03/19 21:10:48 mickey Exp $ */ +/* $OpenBSD: proc.h,v 1.4 1996/03/24 17:40:44 tholo Exp $ */ /* $NetBSD: proc.h,v 1.42 1996/02/09 18:25:23 christos Exp $ */ /*- @@ -306,12 +306,6 @@ struct prochd { struct proc *ph_rlink; } qs[NQS]; -#define current_thread() (curproc->p_thread) -void assert_wait __P((event_t, boolean_t)); -void thread_block __P((void)); -void thread_sleep __P((event_t, struct slock *, boolean_t)); -void thread_wakeup __P((event_t)); - struct proc *pfind __P((pid_t)); /* Find process by id. */ struct pgrp *pgfind __P((pid_t)); /* Find process group by id. */ diff --git a/sys/vm/vm_param.h b/sys/vm/vm_param.h index 4880723351c..eb3e4e3481c 100644 --- a/sys/vm/vm_param.h +++ b/sys/vm/vm_param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_param.h,v 1.3 1996/03/23 19:13:13 tholo Exp $ */ +/* $OpenBSD: vm_param.h,v 1.4 1996/03/24 17:40:46 tholo Exp $ */ /* $NetBSD: vm_param.h,v 1.12 1995/03/26 20:39:16 jtc Exp $ */ /* @@ -81,6 +81,12 @@ typedef int boolean_t; #define TRUE 1 #define FALSE 0 +#define current_thread() (curproc->p_thread) +void assert_wait __P((event_t, boolean_t)); +void thread_block __P((void)); +void thread_sleep __P((event_t, struct slock *, boolean_t)); +void thread_wakeup __P((event_t)); + /* * The machine independent pages are refered to as PAGES. A page * is some number of hardware pages, depending on the target machine. |