waitForReturnCapability: fix logic bug
[ghc-hetmet.git] / rts / ThreadLabels.h
index 59eb321..550e286 100644 (file)
@@ -7,8 +7,10 @@
  *
  * ---------------------------------------------------------------------------*/
 
-#ifndef __THREADLABELS_H__
-#define __THREADLABELS_H__
+#ifndef THREADLABELS_H
+#define THREADLABELS_H
+
+#pragma GCC visibility push(hidden)
 
 #if defined(DEBUG)
 void    initThreadLabelTable (void);
@@ -19,4 +21,6 @@ void    removeThreadLabel    (StgWord key);
 void    labelThread          (StgPtr tso, char *label);
 #endif
 
-#endif /* __THREADLABELS_H__ */
+#pragma GCC visibility pop
+
+#endif /* THREADLABELS_H */