]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/acct.h
xnu-792.tar.gz
[apple/xnu.git] / bsd / sys / acct.h
index 2470ca277134c0ab59d19035f510502d3788e2e7..1cd61259b1715c8bdaf1998c3183c9e4f88cedd9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
@@ -62,6 +62,8 @@
 #ifndef _SYS_ACCT_H_
 #define _SYS_ACCT_H_
 
+#include <sys/appleapiopts.h>
+#include <sys/cdefs.h>
 /*
  * Accounting structures; these use a comp_t type which is a 3 bits base 8
  * exponent, 13 bit fraction ``floating point'' number.  Units are 1/AHZ
@@ -96,9 +98,14 @@ struct acct {
 #define        AHZ     64
 
 #ifdef KERNEL
+#ifdef __APPLE_API_PRIVATE
 extern struct vnode    *acctp;
 
-int    acct_process __P((struct proc *p));
-#endif
+__BEGIN_DECLS
+int    acct_process(struct proc *p);
+__END_DECLS
+
+#endif /* __APPLE_API_PRIVATE */
+#endif /* KERNEL */
 
 #endif /* ! _SYS_ACCT_H_ */