straighten out header includes, comment on Forward declarations
authorBrian Norris <banorris@uci.edu>
Thu, 3 May 2012 18:39:28 +0000 (11:39 -0700)
committerBrian Norris <banorris@uci.edu>
Thu, 3 May 2012 18:47:49 +0000 (11:47 -0700)
action.h
common.h
schedule.h

index cca56390567a0b66b265d371656417b60a34e748..508ad169478135a96110573b489b2fa4cdcfa7bf 100644 (file)
--- 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 {
index 3476f5379b721c167e9eec939c902c17aa175cc7..bb66c3a7f5d9cab70b680a8f2f42b89c7c468547 100644 (file)
--- a/common.h
+++ b/common.h
@@ -2,6 +2,7 @@
 #define __COMMON_H__
 
 #include <stdio.h>
+#include <stdlib.h>
 
 //#define CONFIG_DEBUG
 
index 48fdde1eb08f2f39eae6984f84ce63dbcf7b3cfc..555cbc4ad027896337a0910969089103d875956f 100644 (file)
@@ -3,8 +3,7 @@
 
 #include <list>
 
-#include "model.h"
-
+/* Forward declaration */
 class Thread;
 
 class Scheduler {