diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2022-11-24 15:53:40 -0500 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-11-25 01:07:59 +0100 |
commit | 7063f0aefd8a8c3c8b610ef6168cddfb2141fa12 (patch) | |
tree | 33c160c80c6a269fb8adf7c65c75be7fc6181ea0 /boolean.h | |
parent | f51fc836c5b690f5448e76196dd40bdb55957a11 (diff) | |
download | mig-7063f0aefd8a8c3c8b610ef6168cddfb2141fa12.tar.gz mig-7063f0aefd8a8c3c8b610ef6168cddfb2141fa12.tar.bz2 mig-7063f0aefd8a8c3c8b610ef6168cddfb2141fa12.zip |
mig: replace boolean.h with stdbool.h
Message-Id: <Y3/Z1CGL8D4OwT66@viriathus>
Diffstat (limited to 'boolean.h')
-rw-r--r-- | boolean.h | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/boolean.h b/boolean.h deleted file mode 100644 index 823b404..0000000 --- a/boolean.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University - * All Rights Reserved. - * - * Permission to use, copy, modify and distribute this software and its - * documentation is hereby granted, provided that both the copyright - * notice and this permission notice appear in all copies of the - * software, derivative works or modified versions, and any portions - * thereof, and that both notices appear in supporting documentation. - * - * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" - * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR - * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. - * - * Carnegie Mellon requests users of this software to return to - * - * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU - * School of Computer Science - * Carnegie Mellon University - * Pittsburgh PA 15213-3890 - * - * any improvements or extensions that they make and grant Carnegie Mellon - * the rights to redistribute these changes. - */ -/* - * Boolean data type. - * - */ - -#ifndef _MIG_BOOLEAN_H_ -#define _MIG_BOOLEAN_H_ - -/* - * Pick up "boolean_t" type definition - */ - -#ifndef __ASSEMBLER__ -typedef int boolean_t; -#endif /* __ASSEMBLER__ */ - -#endif /* _MIG_BOOLEAN_H_ */ - -/* - * Define TRUE and FALSE, only if they haven't been before, - * and not if they're explicitly refused. Note that we're - * outside the BOOLEAN_H_ conditional, to avoid ordering - * problems. - */ - -#if !defined(NOBOOL) - -#ifndef TRUE -#define TRUE ((boolean_t) 1) -#endif /* TRUE */ - -#ifndef FALSE -#define FALSE ((boolean_t) 0) -#endif /* FALSE */ - -#endif /* !defined(NOBOOL) */ |