summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sim/fault.hh2
-rw-r--r--src/sim/faults.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sim/fault.hh b/src/sim/fault.hh
index ac0b691d0..26a133328 100644
--- a/src/sim/fault.hh
+++ b/src/sim/fault.hh
@@ -35,4 +35,6 @@ class FaultBase;
template <class T> class RefCountingPtr;
typedef RefCountingPtr<FaultBase> Fault;
+FaultBase * const NoFault = 0;
+
#endif // __SIM_FAULT_HH__
diff --git a/src/sim/faults.hh b/src/sim/faults.hh
index e48928b2c..27cc7538c 100644
--- a/src/sim/faults.hh
+++ b/src/sim/faults.hh
@@ -61,8 +61,6 @@ class FaultBase : public RefCounted
virtual bool isAlignmentFault() const {return false;}
};
-FaultBase * const NoFault = 0;
-
class UnimpFault : public FaultBase
{
private: