]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/port.h
xnu-792.18.15.tar.gz
[apple/xnu.git] / osfmk / mach / port.h
index 213f36babc32908a5b325977b1f5d396c14f464f..db22349824023084d50a364366e0aaf417718b42 100644 (file)
@@ -1,14 +1,19 @@
 /*
  * Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
  *
- * @APPLE_LICENSE_HEADER_START@
+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  * 
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
  * Version 2.0 (the 'License'). You may not use this file except in
- * compliance with the License. Please obtain a copy of the License at
- * http://www.opensource.apple.com/apsl/ and read it before using this
- * file.
+ * compliance with the License. The rights granted to you under the License
+ * may not be used to create, or enable the creation or redistribution of,
+ * unlawful or unlicensed copies of an Apple operating system, or to
+ * circumvent, violate, or enable the circumvention or violation of, any
+ * terms of an Apple operating system software license agreement.
+ * 
+ * Please obtain a copy of the License at
+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
  * 
  * The Original Code and all software distributed under the License are
  * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
@@ -18,7 +23,7 @@
  * Please see the License for the specific language governing rights and
  * limitations under the License.
  * 
- * @APPLE_LICENSE_HEADER_END@
+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  */
 /*
  * @OSF_COPYRIGHT@
@@ -94,7 +99,7 @@
 typedef natural_t mach_port_name_t;
 typedef mach_port_name_t *mach_port_name_array_t;
 
-#ifdef KERNEL_PRIVATE
+#ifdef KERNEL
 
 /* 
  *     mach_port_t - a named port right
@@ -135,7 +140,7 @@ typedef struct ipc_port             *ipc_port_t;
 
 typedef ipc_port_t             mach_port_t;
 
-#else  /* KERNEL_PRIVATE */
+#else  /* KERNEL */
 
 /* 
  *     mach_port_t - a named port right
@@ -158,7 +163,7 @@ typedef ipc_port_t          mach_port_t;
 typedef mach_port_name_t               mach_port_t;
 #endif
 
-#endif /* KERNEL_PRIVATE */
+#endif /* KERNEL */
 
 typedef mach_port_t                    *mach_port_array_t;