tree: don't use 'NULL' for a thread ID
[model-checker.git] / tree.h
diff --git a/tree.h b/tree.h
index 766aacd9ff981eb12c0f8f45e0c7b1076b7176f3..6d37038e87a42f0c068d6d1e4107ad2b983c9230 100644 (file)
--- a/tree.h
+++ b/tree.h
@@ -3,6 +3,7 @@
 #include "threads.h"
 
 typedef thread_id_t tree_t;
+#define TREE_T_NONE    -1
 
 /*
  * An n-ary tree