Staticized.
Don't depend on "implicit int".
This commit is contained in:
parent
e31abede1f
commit
876a94ee2c
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)kern_proc.c 8.7 (Berkeley) 2/14/95
|
||||
* $Id: kern_proc.c,v 1.34 1998/02/06 12:13:24 eivind Exp $
|
||||
* $Id: kern_proc.c,v 1.35 1998/02/09 06:09:23 eivind Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -51,7 +51,7 @@
|
||||
|
||||
static MALLOC_DEFINE(M_PGRP, "pgrp", "process group header");
|
||||
MALLOC_DEFINE(M_SESSION, "session", "session header");
|
||||
MALLOC_DEFINE(M_PROC, "proc", "Proc structures");
|
||||
static MALLOC_DEFINE(M_PROC, "proc", "Proc structures");
|
||||
MALLOC_DEFINE(M_SUBPROC, "subproc", "Proc sub-structures");
|
||||
|
||||
struct prochd qs[NQS]; /* as good a place as any... */
|
||||
@ -369,7 +369,7 @@ DB_SHOW_COMMAND(pgrpdump, pgrpdump)
|
||||
{
|
||||
register struct pgrp *pgrp;
|
||||
register struct proc *p;
|
||||
register i;
|
||||
register int i;
|
||||
|
||||
for (i = 0; i <= pgrphash; i++) {
|
||||
if (pgrp = pgrphashtbl[i].lh_first) {
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)proc.h 8.15 (Berkeley) 5/19/95
|
||||
* $Id: proc.h,v 1.52 1997/12/20 03:05:36 sef Exp $
|
||||
* $Id: proc.h,v 1.53 1998/01/22 17:30:11 dyson Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_PROC_H_
|
||||
@ -257,7 +257,6 @@ struct pcred {
|
||||
|
||||
#ifdef MALLOC_DECLARE
|
||||
MALLOC_DECLARE(M_SESSION);
|
||||
MALLOC_DECLARE(M_PROC);
|
||||
MALLOC_DECLARE(M_SUBPROC);
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user