diff options
author | bde <bde@FreeBSD.org> | 1996-10-12 16:11:58 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-10-12 16:11:58 +0000 |
commit | 4ea380d58eccafbaafafcc405737bfcb59e8ee8b (patch) | |
tree | ee0b29285c1666834b3579ef781572aff82fd2bb /sys | |
parent | 4be2cda7572bb63501b8e187578d59da5b4d2ef0 (diff) | |
download | FreeBSD-src-4ea380d58eccafbaafafcc405737bfcb59e8ee8b.zip FreeBSD-src-4ea380d58eccafbaafafcc405737bfcb59e8ee8b.tar.gz |
Moved declarations of tsleep() and wakeup() from proc.h to systm.h so
that proc.h doesn't have to be included so often.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/proc.h | 4 | ||||
-rw-r--r-- | sys/sys/systm.h | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h index d0313b7..f4679f1 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)proc.h 8.15 (Berkeley) 5/19/95 - * $Id: proc.h,v 1.27 1996/08/20 07:18:08 smpatel Exp $ + * $Id: proc.h,v 1.28 1996/09/13 09:20:08 bde Exp $ */ #ifndef _SYS_PROC_H_ @@ -300,9 +300,7 @@ void setrunqueue __P((struct proc *)); void sleepinit __P((void)); void remrq __P((struct proc *)); void cpu_switch __P((struct proc *)); -int tsleep __P((void *chan, int pri, char *wmesg, int timo)); void unsleep __P((struct proc *)); -void wakeup __P((void *chan)); void wakeup_one __P((void *chan)); void cpu_exit __P((struct proc *)) __dead2; diff --git a/sys/sys/systm.h b/sys/sys/systm.h index c833845..15eae1a 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)systm.h 8.7 (Berkeley) 3/29/95 - * $Id: systm.h,v 1.45 1996/09/29 15:00:19 bde Exp $ + * $Id: systm.h,v 1.46 1996/10/12 15:54:04 bde Exp $ */ #ifndef _SYS_SYSTM_H_ @@ -180,4 +180,11 @@ typedef void (*exitlist_fn)(struct proc *procp); int at_exit(exitlist_fn function); int rm_at_exit(exitlist_fn function); +/* + * Common `proc' functions are declared here so that proc.h can be included + * less often. + */ +int tsleep __P((void *chan, int pri, char *wmesg, int timo)); +void wakeup __P((void *chan)); + #endif /* !_SYS_SYSTM_H_ */ |