Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
#include <urcu-pointer.h>
#include <urcu-call-rcu.h>
-#define DEBUG
-
#ifdef DEBUG
#define dbg_printf(args...) printf(args)
#else
* transplantations/rotations required for the operation.
*/
+#ifdef DEBUG
static
void show_tree(struct rcu_rbtree *rbtree)
{
}
printf("\n");
}
+#else /* DEBUG */
+static
+void show_tree(struct rcu_rbtree *rbtree)
+{
+}
+#endif /* DEBUG */
static
struct rcu_rbtree_node *make_nil(struct rcu_rbtree *rbtree)