Reformat recent additions to the same style as the original.
This commit is contained in:
parent
7e91840c17
commit
66e2076c9e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2360
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)proc.h 8.8 (Berkeley) 1/21/94
|
||||
* $Id: proc.h,v 1.5 1994/08/24 11:51:46 sos Exp $
|
||||
* $Id: proc.h,v 1.6 1994/08/25 22:59:35 wollman Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_PROC_H_
|
||||
@ -97,7 +97,7 @@ struct proc {
|
||||
|
||||
int p_flag; /* P_* flags. */
|
||||
char p_stat; /* S* process status. */
|
||||
char p_lock; /* process lock count */
|
||||
char p_lock; /* Process lock count. */
|
||||
char p_pad1[2];
|
||||
|
||||
pid_t p_pid; /* Process identifier. */
|
||||
@ -135,8 +135,7 @@ struct proc {
|
||||
|
||||
struct vnode *p_textvp; /* Vnode of executable. */
|
||||
|
||||
long p_spare[4]; /* pad to 256, avoid shifting eproc. */
|
||||
|
||||
long p_spare[4]; /* Pad to 256, avoid shifting eproc. */
|
||||
|
||||
/* End area that is zeroed on creation. */
|
||||
#define p_endzero p_startcopy
|
||||
@ -155,7 +154,7 @@ struct proc {
|
||||
|
||||
struct pgrp *p_pgrp; /* Pointer to process group. */
|
||||
|
||||
struct sysentvec *p_sysent; /* system call dispatch information */
|
||||
struct sysentvec *p_sysent; /* System call dispatch information. */
|
||||
|
||||
/* End area that is copied on creation. */
|
||||
#define p_endcopy p_thread
|
||||
@ -253,9 +252,9 @@ struct prochd {
|
||||
struct proc *ph_rlink;
|
||||
} qs[NQS];
|
||||
|
||||
int chgproccnt __P((uid_t, int));
|
||||
struct proc *pfind __P((pid_t)); /* Find process by id. */
|
||||
struct pgrp *pgfind __P((pid_t)); /* Find process group by id. */
|
||||
|
||||
void mi_switch __P((void));
|
||||
void resetpriority __P((struct proc *));
|
||||
void setrunnable __P((struct proc *));
|
||||
@ -265,7 +264,6 @@ int tsleep __P((void *chan, int pri, char *wmesg, int timo));
|
||||
void unsleep __P((struct proc *));
|
||||
void wakeup __P((void *chan));
|
||||
|
||||
extern int chgproccnt(uid_t, int);
|
||||
|
||||
#endif /* KERNEL */
|
||||
|
||||
#endif /* !_SYS_PROC_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user