From: tholo Date: Sun, 24 Mar 1996 17:40:44 +0000 (+0000) Subject: Move thread prototypes to for consistency XXX X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7f80ee6ae243c2fd0c08126f5dc7c6fb24d7e306;p=openbsd Move thread prototypes to for consistency XXX --- 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.