Skip to content

Commit

Permalink
resolve quark/blake variable name conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
tpruvot committed Aug 2, 2014
1 parent a873736 commit 6f6fad2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions blake.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ typedef struct {
sph_blake256_context blake1;
} blakehash_context_holder;

blakehash_context_holder base_contexts;
static blakehash_context_holder base_contexts;

void init_blakehash_contexts()
{
Expand Down Expand Up @@ -143,4 +143,4 @@ int scanhash_blake(int thr_id, uint32_t *pdata, const uint32_t *ptarget,
*hashes_done = n - first_nonce + 1;
pdata[19] = n;
return 0;
}
}
4 changes: 2 additions & 2 deletions quark.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ typedef struct {
sph_keccak512_context keccak1, keccak2;
} quarkhash_context_holder;

quarkhash_context_holder base_contexts;
static quarkhash_context_holder base_contexts;

void init_quarkhash_contexts()
{
Expand Down Expand Up @@ -249,4 +249,4 @@ int scanhash_quark(int thr_id, uint32_t *pdata, const uint32_t *ptarget,
*hashes_done = n - first_nonce + 1;
pdata[19] = n;
return 0;
}
}

0 comments on commit 6f6fad2

Please sign in to comment.