waitForReturnCapability: fix logic bug
[ghc-hetmet.git] / rts / Capability.h
index fb199e2..6fdc002 100644 (file)
@@ -22,6 +22,8 @@
 #include "Task.h"
 #include "Sparks.h"
 
+#pragma GCC visibility push(hidden)
+
 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;
 }
 
+#pragma GCC visibility pop
+
 #endif /* CAPABILITY_H */