diff --git a/algorithm/animecoin.c b/algorithm/animecoin.c index 75f862af..93ee91b0 100644 --- a/algorithm/animecoin.c +++ b/algorithm/animecoin.c @@ -52,6 +52,9 @@ be32enc_vect(uint32_t *dst, const uint32_t *src, uint32_t len) } +#ifdef __APPLE_CC__ +static +#endif inline void animehash(void *state, const void *input) { sph_blake512_context ctx_blake; diff --git a/algorithm/bitblock.c b/algorithm/bitblock.c index 3c42e22c..1987359b 100644 --- a/algorithm/bitblock.c +++ b/algorithm/bitblock.c @@ -106,6 +106,9 @@ be32enc_vect(uint32_t *dst, const uint32_t *src, uint32_t len) } +#ifdef __APPLE_CC__ +static +#endif inline void bitblockhash(void *state, const void *input) { init_Bhash_contexts(); diff --git a/algorithm/fresh.c b/algorithm/fresh.c index b58e90b1..883ced31 100644 --- a/algorithm/fresh.c +++ b/algorithm/fresh.c @@ -75,6 +75,9 @@ be32enc_vect(uint32_t *dst, const uint32_t *src, uint32_t len) } +#ifdef __APPLE_CC__ +static +#endif inline void freshHash(void *state, const void *input) { init_freshHash_contexts(); diff --git a/algorithm/fuguecoin.c b/algorithm/fuguecoin.c index cc252633..faa6d7fc 100644 --- a/algorithm/fuguecoin.c +++ b/algorithm/fuguecoin.c @@ -47,6 +47,9 @@ be32enc_vect(uint32_t *dst, const uint32_t *src, uint32_t len) } +#ifdef __APPLE_CC__ +static +#endif inline void fuguehash(void *state, const void *input) { sph_fugue256_context ctx_fugue; diff --git a/algorithm/groestlcoin.c b/algorithm/groestlcoin.c index b49f5ada..f1f10935 100644 --- a/algorithm/groestlcoin.c +++ b/algorithm/groestlcoin.c @@ -51,6 +51,9 @@ be32enc_vect(uint32_t *dst, const uint32_t *src, uint32_t len) } +#ifdef __APPLE_CC__ +static +#endif inline void groestlhash(void *state, const void *input) { sph_groestl512_context ctx_groestl; diff --git a/algorithm/inkcoin.c b/algorithm/inkcoin.c index c0470550..abff2fdf 100644 --- a/algorithm/inkcoin.c +++ b/algorithm/inkcoin.c @@ -90,6 +90,9 @@ be32enc_vect(uint32_t *dst, const uint32_t *src, uint32_t len) dst[i] = htobe32(src[i]); } +#ifdef __APPLE_CC__ +static +#endif inline void inkhash(void *state, const void *input) { uint32_t hash[16]; diff --git a/algorithm/marucoin.c b/algorithm/marucoin.c index 82941581..38477d3f 100644 --- a/algorithm/marucoin.c +++ b/algorithm/marucoin.c @@ -100,6 +100,9 @@ be32enc_vect(uint32_t *dst, const uint32_t *src, uint32_t len) } +#ifdef __APPLE_CC__ +static +#endif inline void maruhash(void *state, const void *input) { init_Mhash_contexts(); diff --git a/algorithm/myriadcoin-groestl.c b/algorithm/myriadcoin-groestl.c index e37c5a50..1d268f51 100644 --- a/algorithm/myriadcoin-groestl.c +++ b/algorithm/myriadcoin-groestl.c @@ -51,6 +51,9 @@ be32enc_vect(uint32_t *dst, const uint32_t *src, uint32_t len) } +#ifdef __APPLE_CC__ +static +#endif inline void mghash(void *state, const void *input) { sph_groestl512_context ctx_groestl; diff --git a/algorithm/quarkcoin.c b/algorithm/quarkcoin.c index 837a4cc3..a2e47d7f 100644 --- a/algorithm/quarkcoin.c +++ b/algorithm/quarkcoin.c @@ -52,6 +52,9 @@ be32enc_vect(uint32_t *dst, const uint32_t *src, uint32_t len) } +#ifdef __APPLE_CC__ +static +#endif inline void quarkhash(void *state, const void *input) { sph_blake512_context ctx_blake; diff --git a/algorithm/qubitcoin.c b/algorithm/qubitcoin.c index e6685153..547aed2a 100644 --- a/algorithm/qubitcoin.c +++ b/algorithm/qubitcoin.c @@ -77,6 +77,9 @@ be32enc_vect(uint32_t *dst, const uint32_t *src, uint32_t len) } +#ifdef __APPLE_CC__ +static +#endif inline void qhash(void *state, const void *input) { init_Qhash_contexts(); diff --git a/algorithm/sifcoin.c b/algorithm/sifcoin.c index 3e19d8b3..2787c2e6 100644 --- a/algorithm/sifcoin.c +++ b/algorithm/sifcoin.c @@ -52,6 +52,9 @@ be32enc_vect(uint32_t *dst, const uint32_t *src, uint32_t len) } +#ifdef __APPLE_CC__ +static +#endif inline void sifhash(void *state, const void *input) { sph_blake512_context ctx_blake; diff --git a/algorithm/talkcoin.c b/algorithm/talkcoin.c index 7da83f15..16d6fa28 100644 --- a/algorithm/talkcoin.c +++ b/algorithm/talkcoin.c @@ -72,6 +72,9 @@ be32enc_vect(uint32_t *dst, const uint32_t *src, uint32_t len) } +#ifdef __APPLE_CC__ +static +#endif inline void talkhash(void *state, const void *input) { init_Nhash_contexts(); diff --git a/algorithm/twecoin.c b/algorithm/twecoin.c index cb5583f5..97ca34a0 100644 --- a/algorithm/twecoin.c +++ b/algorithm/twecoin.c @@ -53,6 +53,9 @@ be32enc_vect(uint32_t *dst, const uint32_t *src, uint32_t len) } +#ifdef __APPLE_CC__ +static +#endif inline void twehash(void *state, const void *input) { sph_fugue256_context ctx_fugue; diff --git a/algorithm/whirlcoin.c b/algorithm/whirlcoin.c index 7aa61218..872566c9 100644 --- a/algorithm/whirlcoin.c +++ b/algorithm/whirlcoin.c @@ -69,6 +69,9 @@ be32enc_vect(uint32_t *dst, const uint32_t *src, uint32_t len) } +#ifdef __APPLE_CC__ +static +#endif inline void whirlcoin_hash(void *state, const void *input) { init_whirlcoin_hash_contexts(); diff --git a/algorithm/x14.c b/algorithm/x14.c index 7a38eb28..7cc3279e 100644 --- a/algorithm/x14.c +++ b/algorithm/x14.c @@ -101,6 +101,9 @@ static inline void be32enc_vect(uint32_t *dst, const uint32_t *src, uint32_t len } +#ifdef __APPLE_CC__ +static +#endif inline void x14hash(void *state, const void *input) { init_X14hash_contexts();