]>
git.saurik.com Git - apple/xnu.git/blob - osfmk/mach/boolean.h
52c843fb354eb7213ab0d8a5611f2c93ac337ed8
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
8 * This file contains Original Code and/or Modifications of Original Code
9 * as defined in and that are subject to the Apple Public Source License
10 * Version 2.0 (the 'License'). You may not use this file except in
11 * compliance with the License. Please obtain a copy of the License at
12 * http://www.opensource.apple.com/apsl/ and read it before using this
15 * The Original Code and all software distributed under the License are
16 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
20 * Please see the License for the specific language governing rights and
21 * limitations under the License.
23 * @APPLE_LICENSE_HEADER_END@
31 * Revision 1.1.1.1 1998/09/22 21:05:31 wsanchez
32 * Import of Mac OS X kernel (~semeria)
34 * Revision 1.1.1.1 1998/03/07 02:25:45 wsanchez
35 * Import of OSF Mach kernel (~mburg)
37 * Revision 1.2.6.1 1994/09/23 02:34:07 ezf
38 * change marker to not FREE
39 * [1994/09/22 21:39:00 ezf]
41 * Revision 1.2.2.3 1993/08/03 18:22:11 gm
42 * CR9598: Remove unneeded EXPORT_BOOLEAN and KERNEL ifdefs. Move
43 * the code inside the include protection and remove the boolean_t
44 * casts from TRUE and FALSE.
45 * [1993/08/02 17:49:29 gm]
47 * Revision 1.2.2.2 1993/06/09 02:39:27 gm
48 * Added to OSF/1 R1.3 from NMK15.0.
49 * [1993/06/02 21:15:31 jeffc]
51 * Revision 1.2 1993/04/19 16:31:43 devrcs
52 * ansi C conformance changes
53 * [1993/02/02 18:52:46 david]
55 * Revision 1.1 1992/09/30 02:30:33 robert
62 * Revision 2.3 91/05/14 16:51:06 mrt
63 * Correcting copyright
65 * Revision 2.2 91/02/05 17:31:38 mrt
66 * Changed to new Mach copyright
67 * [91/02/01 17:16:36 mrt]
69 * Revision 2.1 89/08/03 15:59:35 rwd
72 * Revision 2.4 89/02/25 18:12:08 gm0w
73 * Changes for cleanup.
75 * Revision 2.3 89/02/07 00:51:34 mwyoung
76 * Relocated from sys/boolean.h
78 * Revision 2.2 88/08/24 02:23:06 mwyoung
79 * Adjusted include file references.
80 * [88/08/17 02:09:46 mwyoung]
83 * 18-Nov-87 Avadis Tevanian (avie) at Carnegie-Mellon University
84 * Header file fixup, purge history.
89 * Mach Operating System
90 * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
91 * All Rights Reserved.
93 * Permission to use, copy, modify and distribute this software and its
94 * documentation is hereby granted, provided that both the copyright
95 * notice and this permission notice appear in all copies of the
96 * software, derivative works or modified versions, and any portions
97 * thereof, and that both notices appear in supporting documentation.
99 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
100 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
101 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
103 * Carnegie Mellon requests users of this software to return to
105 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
106 * School of Computer Science
107 * Carnegie Mellon University
108 * Pittsburgh PA 15213-3890
110 * any improvements or extensions that they make and grant Carnegie Mellon
111 * the rights to redistribute these changes.
116 * File: mach/boolean.h
126 * Pick up "boolean_t" type definition
130 #include <mach/machine/boolean.h>
131 #endif /* ASSEMBLER */
134 * Define TRUE and FALSE, only if they haven't been before,
135 * and not if they're explicitly refused.
148 #endif /* !defined(NOBOOL) */
150 #endif /* BOOLEAN_H_ */