summaryrefslogtreecommitdiff
path: root/rts/Hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/Hash.h')
-rw-r--r--rts/Hash.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/Hash.h b/rts/Hash.h
index d16f9ae9c1..c5eec37552 100644
--- a/rts/Hash.h
+++ b/rts/Hash.h
@@ -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 */