Declare RTS-private prototypes with __attribute__((visibility("hidden")))
[ghc-hetmet.git] / rts / Hash.h
index d16f9ae..c5eec37 100644 (file)
@@ -9,6 +9,8 @@
 #ifndef HASH_H
 #define HASH_H
 
+#pragma GCC visibility push(hidden)
+
 typedef struct hashtable HashTable; /* abstract */
 
 /* Hash table access where the keys are StgWords */
@@ -45,5 +47,7 @@ void freeHashTable ( HashTable *table, void (*freeDataFun)(void *) );
 
 void exitHashTable ( void );
 
+#pragma GCC visibility pop
+
 #endif /* HASH_H */