summaryrefslogtreecommitdiff
path: root/boolean.h
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2022-11-24 15:53:40 -0500
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-11-25 01:07:59 +0100
commit7063f0aefd8a8c3c8b610ef6168cddfb2141fa12 (patch)
tree33c160c80c6a269fb8adf7c65c75be7fc6181ea0 /boolean.h
parentf51fc836c5b690f5448e76196dd40bdb55957a11 (diff)
mig: replace boolean.h with stdbool.h
Message-Id: <Y3/Z1CGL8D4OwT66@viriathus>
Diffstat (limited to 'boolean.h')
-rw-r--r--boolean.h60
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) */