Minor refactoring
[ghc-hetmet.git] / rts / Capability.h
index fb199e2..3f01bf3 100644 (file)
@@ -22,6 +22,8 @@
 #include "Task.h"
 #include "Sparks.h"
 
+BEGIN_RTS_PRIVATE
+
 struct Capability_ {
     // State required by the STG virtual machine when running Haskell
     // code.  During STG execution, the BaseReg register always points
@@ -330,4 +332,6 @@ contextSwitchCapability (Capability *cap)
     cap->context_switch = 1;
 }
 
+END_RTS_PRIVATE
+
 #endif /* CAPABILITY_H */