Not all programs including kvm.h include the necessary headers to use

u_int, so prefer unsigned int.

MFC after:	6 days
Pointed out by:	bz, kib, Mr Tinderbox
This commit is contained in:
rwatson 2010-03-01 09:46:27 +00:00
parent 28397927de
commit 1c4b13371f

View File

@ -69,7 +69,7 @@ struct kvm_swap {
__BEGIN_DECLS
int kvm_close(kvm_t *);
int kvm_dpcpu_setcpu(kvm_t *, u_int);
int kvm_dpcpu_setcpu(kvm_t *, unsigned int);
char **kvm_getargv(kvm_t *, const struct kinfo_proc *, int);
int kvm_getcptime(kvm_t *, long *);
char **kvm_getenvv(kvm_t *, const struct kinfo_proc *, int);