Reduced vm dependencies. Only `struct vmmeter.h' is required.
Unfortunately, the sysctl number for reading this struct is bogusly placed in <vm/vm_param.h> instead of with the declaration of the struct.
This commit is contained in:
parent
99406bcc38
commit
d376015efe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12811
@ -44,12 +44,13 @@ static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 1/12/94";
|
||||
#include <sys/buf.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/namei.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/vmmeter.h>
|
||||
#include <vm/vm.h>
|
||||
|
||||
#include <vm/vm_param.h>
|
||||
|
||||
#include <signal.h>
|
||||
#include <nlist.h>
|
||||
|
@ -44,9 +44,9 @@ static char sccsid[] = "@(#)vmstat.c 8.1 (Berkeley) 6/6/93";
|
||||
#include <sys/param.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/dkstat.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/namei.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/signal.h>
|
||||
@ -54,7 +54,9 @@ static char sccsid[] = "@(#)vmstat.c 8.1 (Berkeley) 6/6/93";
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/vmmeter.h>
|
||||
#include <vm/vm.h>
|
||||
|
||||
#include <vm/vm_param.h>
|
||||
|
||||
#include <time.h>
|
||||
#include <nlist.h>
|
||||
#include <kvm.h>
|
||||
|
Loading…
Reference in New Issue
Block a user