]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/cpu_number.h
xnu-344.12.2.tar.gz
[apple/xnu.git] / osfmk / i386 / cpu_number.h
index 7c15b8526ac2d29026f37433676d9ed84ef8be8d..255bb119a1fc7b2e2fd71e6838eef260f2fe01b6 100644 (file)
@@ -58,6 +58,9 @@
 #ifndef        _I386_CPU_NUMBER_H_
 #define        _I386_CPU_NUMBER_H_
 
+#include <sys/appleapiopts.h>
+
+#ifdef __APPLE_API_UNSTABLE
 extern int     cpu_number(void);
 
 #ifdef MACH_KERNEL_PRIVATE
@@ -118,4 +121,6 @@ extern __inline__ int cpu_number(void)
 
 #endif /* MACH_KERNEL_PRIVATE */
 
+#endif  /* __APPLE_API_UNSTABLE */
+
 #endif /* _I386_CPU_NUMBER_H_ */