summaryrefslogtreecommitdiff
path: root/rts/Threads.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/Threads.h')
-rw-r--r--rts/Threads.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/Threads.h b/rts/Threads.h
index d17235a2cb..e58b0db993 100644
--- a/rts/Threads.h
+++ b/rts/Threads.h
@@ -9,6 +9,8 @@
#ifndef THREADS_H
#define THREADS_H
+#pragma GCC visibility push(hidden)
+
StgTSO * unblockOne (Capability *cap, StgTSO *tso);
StgTSO * unblockOne_ (Capability *cap, StgTSO *tso, rtsBool allow_migrate);
@@ -27,4 +29,6 @@ void printAllThreads (void);
void printThreadQueue (StgTSO *t);
#endif
+#pragma GCC visibility pop
+
#endif /* THREADS_H */