aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/common.h b/common.h
index 642f6bc..4c40a08 100644
--- a/common.h
+++ b/common.h
@@ -39,11 +39,14 @@
#if defined(__GNUC__)
-__attribute__((__const__))
+__attribute__((__const__, __visibility__("hidden")))
#endif
uint8_t libhashsum_reverse_byte__(uint8_t);
#ifdef LIBHASHSUM_INCLUDE_LIBKECCAK_STATE
+#if defined(__GNUC__)
+__attribute__((__visibility__("hidden")))
+#endif
int libhashsum_init_keccak__(struct libhashsum_hasher *this, size_t hashbits, void *spec, size_t squeezes, const char *suffix);
#endif