Declare RTS-private prototypes with __attribute__((visibility("hidden")))
[ghc-hetmet.git] / rts / eventlog / EventLog.h
index 1090370..0358256 100644 (file)
@@ -12,6 +12,8 @@
 #include "rts/EventLogFormat.h"
 #include "Capability.h"
 
+#pragma GCC visibility push(hidden)
+
 #ifdef EVENTLOG
 
 /*
@@ -49,4 +51,6 @@ INLINE_HEADER void postEvent(Capability *cap  STG_UNUSED,
 
 #endif
 
+#pragma GCC visibility pop
+
 #endif /* EVENTLOG_H */