summaryrefslogtreecommitdiffstats
path: root/crypto/s390xcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/s390xcap.c')
-rw-r--r--crypto/s390xcap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/s390xcap.c b/crypto/s390xcap.c
index f8e0234968..d433df98eb 100644
--- a/crypto/s390xcap.c
+++ b/crypto/s390xcap.c
@@ -74,6 +74,9 @@ void OPENSSL_s390x_functions(void);
struct OPENSSL_s390xcap_st OPENSSL_s390xcap_P;
+#if defined(__GNUC__) && defined(__linux)
+__attribute__ ((visibility("hidden")))
+#endif
void OPENSSL_cpuid_setup(void)
{
struct OPENSSL_s390xcap_st cap;