summaryrefslogtreecommitdiffstats
path: root/include/stdbool.h
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2001-02-06 23:39:06 +0000
committerasmodai <asmodai@FreeBSD.org>2001-02-06 23:39:06 +0000
commit166df89947ced7c470337a6deeafd7717e119996 (patch)
treeff6eb3347ed82707523ad5cbf7538fcb0c41bf35 /include/stdbool.h
parent3f5fa6efcc7a1b32b2458e961c4dd913b50de47d (diff)
downloadFreeBSD-src-166df89947ced7c470337a6deeafd7717e119996.zip
FreeBSD-src-166df89947ced7c470337a6deeafd7717e119996.tar.gz
Fix some nits:
- whitespace: incorrect usage of tab or space - removal of comments which served either no purpose or were misleading Submitted by: bde [a while ago]
Diffstat (limited to 'include/stdbool.h')
-rw-r--r--include/stdbool.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/include/stdbool.h b/include/stdbool.h
index 474ac9c..84c7fa5 100644
--- a/include/stdbool.h
+++ b/include/stdbool.h
@@ -26,21 +26,18 @@
* $FreeBSD$
*/
-/* This should be compliant with the ANSI C99 definition */
-
-#ifndef _STDBOOL_H_
+#ifndef _STDBOOL_H_
#define _STDBOOL_H_
-#define __bool_true_false_are_defined 1
+#define __bool_true_false_are_defined 1
/* And those constants must also be available as macros */
#define false 0
#define true 1
-/* User visible type `bool' is provided as a macro which may be redefined */
-#define bool _Bool
+#define bool _Bool
#if __STDC_VERSION__ < 199901L
-typedef int _Bool; /* not built into pre-C99 compilers */
+typedef int _Bool;
#endif
-#endif /* _STDBOOL_H_ */
+#endif /* !_STDBOOL_H_ */
OpenPOWER on IntegriCloud