]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/sync_policy.h
xnu-792.tar.gz
[apple/xnu.git] / osfmk / mach / sync_policy.h
index bca61a6d8d542993323ae5f688f3084aa183a7a6..1321547565819509fd848ea03356b212e536aba6 100644 (file)
@@ -23,8 +23,8 @@
  * @OSF_COPYRIGHT@
  */
 
-#ifndef        _SYNC_POLICY_H_
-#define _SYNC_POLICY_H_
+#ifndef        _MACH_SYNC_POLICY_H_
+#define _MACH_SYNC_POLICY_H_
 
 typedef int sync_policy_t;
 
@@ -37,20 +37,16 @@ typedef int sync_policy_t;
 #define SYNC_POLICY_ORDER_MASK         0x3
 #define SYNC_POLICY_LIFO               (SYNC_POLICY_FIFO|SYNC_POLICY_REVERSED)
 
+#ifdef KERNEL_PRIVATE
+
 /*
  *     These options provide addition (kernel-private) behaviors
  */
-#ifdef KERNEL_PRIVATE
-#include <sys/appleapiopts.h>
-
-#ifdef  __APPLE_API_EVOLVING
 
 #define SYNC_POLICY_PREPOST            0x4
 
-#endif  /* __APPLE_API_EVOLVING */
-
-#endif         /* KERNEL_PRIVATE */
+#endif /* KERNEL_PRIVATE */
 
 #define SYNC_POLICY_MAX                        0x7
 
-#endif         /*_SYNC_POLICY_H_*/
+#endif         /* _MACH_SYNC_POLICY_H_ */