Browse Source

Merge pull request #408 from nwoolls/bug/clang-inline-errors

Fix errors compiling on OS X
windows
troky 10 years ago
parent
commit
f27f8dd544
  1. 3
      algorithm/animecoin.c
  2. 3
      algorithm/bitblock.c
  3. 3
      algorithm/fresh.c
  4. 3
      algorithm/fuguecoin.c
  5. 3
      algorithm/groestlcoin.c
  6. 3
      algorithm/inkcoin.c
  7. 3
      algorithm/marucoin.c
  8. 3
      algorithm/myriadcoin-groestl.c
  9. 3
      algorithm/quarkcoin.c
  10. 3
      algorithm/qubitcoin.c
  11. 3
      algorithm/sifcoin.c
  12. 3
      algorithm/talkcoin.c
  13. 3
      algorithm/twecoin.c
  14. 3
      algorithm/whirlcoin.c
  15. 3
      algorithm/x14.c

3
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) inline void animehash(void *state, const void *input)
{ {
sph_blake512_context ctx_blake; sph_blake512_context ctx_blake;

3
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) inline void bitblockhash(void *state, const void *input)
{ {
init_Bhash_contexts(); init_Bhash_contexts();

3
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) inline void freshHash(void *state, const void *input)
{ {
init_freshHash_contexts(); init_freshHash_contexts();

3
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) inline void fuguehash(void *state, const void *input)
{ {
sph_fugue256_context ctx_fugue; sph_fugue256_context ctx_fugue;

3
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) inline void groestlhash(void *state, const void *input)
{ {
sph_groestl512_context ctx_groestl; sph_groestl512_context ctx_groestl;

3
algorithm/inkcoin.c

@ -90,6 +90,9 @@ be32enc_vect(uint32_t *dst, const uint32_t *src, uint32_t len)
dst[i] = htobe32(src[i]); dst[i] = htobe32(src[i]);
} }
#ifdef __APPLE_CC__
static
#endif
inline void inkhash(void *state, const void *input) inline void inkhash(void *state, const void *input)
{ {
uint32_t hash[16]; uint32_t hash[16];

3
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) inline void maruhash(void *state, const void *input)
{ {
init_Mhash_contexts(); init_Mhash_contexts();

3
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) inline void mghash(void *state, const void *input)
{ {
sph_groestl512_context ctx_groestl; sph_groestl512_context ctx_groestl;

3
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) inline void quarkhash(void *state, const void *input)
{ {
sph_blake512_context ctx_blake; sph_blake512_context ctx_blake;

3
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) inline void qhash(void *state, const void *input)
{ {
init_Qhash_contexts(); init_Qhash_contexts();

3
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) inline void sifhash(void *state, const void *input)
{ {
sph_blake512_context ctx_blake; sph_blake512_context ctx_blake;

3
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) inline void talkhash(void *state, const void *input)
{ {
init_Nhash_contexts(); init_Nhash_contexts();

3
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) inline void twehash(void *state, const void *input)
{ {
sph_fugue256_context ctx_fugue; sph_fugue256_context ctx_fugue;

3
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) inline void whirlcoin_hash(void *state, const void *input)
{ {
init_whirlcoin_hash_contexts(); init_whirlcoin_hash_contexts();

3
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) inline void x14hash(void *state, const void *input)
{ {
init_X14hash_contexts(); init_X14hash_contexts();

Loading…
Cancel
Save