summaryrefslogtreecommitdiff
path: root/rts/RetainerProfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/RetainerProfile.h')
-rw-r--r--rts/RetainerProfile.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/rts/RetainerProfile.h b/rts/RetainerProfile.h
index da9a847478..7278dc7465 100644
--- a/rts/RetainerProfile.h
+++ b/rts/RetainerProfile.h
@@ -14,10 +14,12 @@
#include "RetainerSet.h"
-extern void initRetainerProfiling ( void );
-extern void endRetainerProfiling ( void );
-extern void retainerProfile ( void );
-extern void resetStaticObjectForRetainerProfiling( StgClosure *static_objects );
+#pragma GCC visibility push(hidden)
+
+void initRetainerProfiling ( void );
+void endRetainerProfiling ( void );
+void retainerProfile ( void );
+void resetStaticObjectForRetainerProfiling( StgClosure *static_objects );
extern StgWord flip;
@@ -41,6 +43,8 @@ retainerSetOf( StgClosure *c )
extern lnat retainerStackBlocks ( void );
#endif
+#pragma GCC visibility pop
+
#endif /* PROFILING */
#endif /* RETAINERPROFILE_H */