Declare RTS-private prototypes with __attribute__((visibility("hidden")))
[ghc-hetmet.git] / rts / sm / GCThread.h
index 9188a20..44ea537 100644 (file)
@@ -16,6 +16,8 @@
 
 #include "WSDeque.h"
 
+#pragma GCC visibility push(hidden)
+
 /* -----------------------------------------------------------------------------
    General scheme
    
@@ -270,5 +272,7 @@ extern StgWord8 the_gc_thread[];
 
 #endif
 
+#pragma GCC visibility pop
+
 #endif // SM_GCTHREAD_H