Date: Mon, 1 Mar 2010 09:46:27 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r204511 - head/lib/libkvm Message-ID: <201003010946.o219kRRc061326@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rwatson Date: Mon Mar 1 09:46:27 2010 New Revision: 204511 URL: http://svn.freebsd.org/changeset/base/204511 Log: 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 Modified: head/lib/libkvm/kvm.h Modified: head/lib/libkvm/kvm.h ============================================================================== --- head/lib/libkvm/kvm.h Mon Mar 1 09:39:14 2010 (r204510) +++ head/lib/libkvm/kvm.h Mon Mar 1 09:46:27 2010 (r204511) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003010946.o219kRRc061326>