From be86dd6ef8bd6194f13b0babaa03fd45d39ff767 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Thu, 3 May 2012 11:39:28 -0700 Subject: [PATCH] straighten out header includes, comment on Forward declarations --- action.h | 2 +- common.h | 1 + schedule.h | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) 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 { -- 2.34.1