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