Module Name: src
Committed By: kre
Date: Tue Jan 2 22:35:22 UTC 2024
Modified Files:
src/sys/sys: rbtree.h
Log Message:
Put back <stdbool.h> - but only when RBDEBUG is defined (the
similarly conditional rb_tree_check() prototype needs "bool").
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/sys/rbtree.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/rbtree.h
diff -u src/sys/sys/rbtree.h:1.9 src/sys/sys/rbtree.h:1.10
--- src/sys/sys/rbtree.h:1.9 Tue Jan 2 19:27:57 2024
+++ src/sys/sys/rbtree.h Tue Jan 2 22:35:22 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: rbtree.h,v 1.9 2024/01/02 19:27:57 christos Exp $ */
+/* $NetBSD: rbtree.h,v 1.10 2024/01/02 22:35:22 kre Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -36,6 +36,10 @@
#include <sys/queue.h>
#include <sys/endian.h>
+#ifdef RBDEBUG
+#include <stdbool.h>
+#endif
+
__BEGIN_DECLS
typedef struct rb_node {