X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/1c79356b52d46aa6b508fb032f5ae709b1f2897b..378393581903b274cb7a4d18e0d978071a6b592d:/bsd/sys/vmmeter.h diff --git a/bsd/sys/vmmeter.h b/bsd/sys/vmmeter.h index dba664e8e..caa2fbc15 100644 --- a/bsd/sys/vmmeter.h +++ b/bsd/sys/vmmeter.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * @@ -58,6 +58,9 @@ #ifndef _SYS_VMMETER_H_ #define _SYS_VMMETER_H_ +#include + +#ifdef __APPLE_API_OBSOLETE /* * System wide statistics counters. */ @@ -107,9 +110,6 @@ struct vmmeter { u_int v_inactive_target; /* number of pages desired inactive */ u_int v_inactive_count; /* number of pages inactive */ }; -#ifdef KERNEL -extern struct vmmeter cnt; -#endif /* systemwide totals computed every five seconds */ struct vmtotal @@ -133,4 +133,6 @@ struct vmtotal extern struct vmtotal total; #endif +#endif /*__APPLE_API_OBSOLETE */ + #endif /* !_SYS_VMMETER_H_ */