diff options
author | bde <bde@FreeBSD.org> | 1994-11-15 14:37:39 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1994-11-15 14:37:39 +0000 |
commit | 0f7f4eaa5a15d2d0d4352546281e3af20c1bc8fa (patch) | |
tree | 97236c9ce418a4f79f86d211f9cf7f800d997460 | |
parent | 0f46fe14ed51d1c09c449d8e570b8f3ccc38af54 (diff) | |
download | FreeBSD-src-0f7f4eaa5a15d2d0d4352546281e3af20c1bc8fa.zip FreeBSD-src-0f7f4eaa5a15d2d0d4352546281e3af20c1bc8fa.tar.gz |
Include <sys/time.h> so that we compile again provided <sys/param.h> is
included first (rtprio stuff broke this).
Add missing __dead2's.
-rw-r--r-- | sys/sys/proc.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 86c9422..468c49f 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -36,15 +36,16 @@ * SUCH DAMAGE. * * @(#)proc.h 8.8 (Berkeley) 1/21/94 - * $Id: proc.h,v 1.12 1994/10/10 00:58:32 phk Exp $ + * $Id: proc.h,v 1.13 1994/11/13 12:46:08 davidg Exp $ */ #ifndef _SYS_PROC_H_ #define _SYS_PROC_H_ #include <machine/proc.h> /* Machine-dependent proc substruct. */ -#include <sys/select.h> /* For struct selinfo. */ #include <sys/rtprio.h> /* For struct rtprio. */ +#include <sys/select.h> /* For struct selinfo. */ +#include <sys/time.h> /* For structs itimerval, timeval. */ /* * One structure allocated per session. @@ -157,7 +158,7 @@ struct proc { struct sysentvec *p_sysent; /* System call dispatch information. */ - struct rtprio p_rtprio; /* realtime priority */ + struct rtprio p_rtprio; /* Realtime priority. */ /* End area that is copied on creation. */ #define p_endcopy p_thread int p_thread; /* Id for this "thread"; Mach glue. XXX */ @@ -195,7 +196,7 @@ struct proc { #define P_WAITED 0x01000 /* Debugging process has waited for child. */ #define P_WEXIT 0x02000 /* Working on exiting. */ #define P_EXEC 0x04000 /* Process called exec. */ -#define P_SWAPPING 0x40000 /* Process is being swapped */ +#define P_SWAPPING 0x40000 /* Process is being swapped. */ /* Should probably be changed into a hold count (They have. -DG). */ #define P_NOSWAP 0x08000 /* Another flag to prevent swap out. */ @@ -270,8 +271,9 @@ void sleep __P((void *chan, int pri)); int tsleep __P((void *chan, int pri, char *wmesg, int timo)); void unsleep __P((struct proc *)); void wakeup __P((void *chan)); -__dead void cpu_exit __P((struct proc *)); -__dead void exit1 __P((struct proc *, int)); + +__dead void cpu_exit __P((struct proc *)) __dead2; +__dead void exit1 __P((struct proc *, int)) __dead2; void fixjobc __P((struct proc *, struct pgrp *, int)); int acct_process __P((struct proc *)); int leavepgrp __P((struct proc *)); |