From: Brian Norris Date: Thu, 3 May 2012 18:39:28 +0000 (-0700) Subject: straighten out header includes, comment on Forward declarations X-Git-Tag: pldi2013~464 X-Git-Url: http://demsky.eecs.uci.edu/git/?p=model-checker.git;a=commitdiff_plain;h=be86dd6ef8bd6194f13b0babaa03fd45d39ff767 straighten out header includes, comment on Forward declarations --- diff --git a/action.h b/action.h index cca5639..508ad16 100644 --- a/action.h +++ b/action.h @@ -16,7 +16,7 @@ typedef enum action_type { ATOMIC_WRITE } action_type_t; -/* Forward declaration (tree.h) */ +/* Forward declaration */ class TreeNode; class ModelAction { diff --git a/common.h b/common.h index 3476f53..bb66c3a 100644 --- a/common.h +++ b/common.h @@ -2,6 +2,7 @@ #define __COMMON_H__ #include +#include //#define CONFIG_DEBUG diff --git a/schedule.h b/schedule.h index 48fdde1..555cbc4 100644 --- a/schedule.h +++ b/schedule.h @@ -3,8 +3,7 @@ #include -#include "model.h" - +/* Forward declaration */ class Thread; class Scheduler {