Declare RTS-private prototypes with __attribute__((visibility("hidden")))
[ghc-hetmet.git] / rts / sm / Scav.h
index 10b9ffd..259fe12 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef SM_SCAV_H
 #define SM_SCAV_H
 
+#pragma GCC visibility push(hidden)
+
 void    scavenge_loop (void);
 void    scavenge_mutable_list (bdescr *bd, generation *gen);
 void    scavenge_capability_mut_lists (Capability *cap);
@@ -24,5 +26,7 @@ void    scavenge_mutable_list1 (bdescr *bd, generation *gen);
 void    scavenge_capability_mut_Lists1 (Capability *cap);
 #endif
 
+#pragma GCC visibility pop
+
 #endif /* SM_SCAV_H */