Deleted Added
full compact
40c40
< * $Id: kern_acct.c,v 1.8 1995/10/29 15:30:56 phk Exp $
---
> * $Id: kern_acct.c,v 1.9 1995/11/12 06:42:51 bde Exp $
51a52
> #include <sys/sysctl.h>
75,76c76,77
< comp_t encode_comp_t __P((u_long, u_long));
< void acctwatch __P((void *));
---
> static comp_t encode_comp_t __P((u_long, u_long));
> static void acctwatch __P((void *));
81,82c82,83
< struct vnode *acctp;
< struct vnode *savacctp;
---
> static struct vnode *acctp;
> static struct vnode *savacctp;
87,89c88,90
< int acctsuspend = 2; /* stop accounting when < 2% free space left */
< int acctresume = 4; /* resume when free space risen to > 4% */
< int acctchkfreq = 15; /* frequency (in seconds) to check space */
---
> static int acctsuspend = 2; /* stop accounting when < 2% free space left */
> SYSCTL_INT(_kern, OID_AUTO, acct_suspend, CTLFLAG_RW,
> &acctsuspend, 0, "");
90a92,99
> static int acctresume = 4; /* resume when free space risen to > 4% */
> SYSCTL_INT(_kern, OID_AUTO, acct_resume, CTLFLAG_RW,
> &acctresume, 0, "");
>
> static int acctchkfreq = 15; /* frequency (in seconds) to check space */
> SYSCTL_INT(_kern, OID_AUTO, acct_chkfreq, CTLFLAG_RW,
> &acctchkfreq, 0, "");
>
238c247
< comp_t
---
> static comp_t
274c283
< void
---
> static void