mirror of
https://github.com/GOSTSec/cpuminer-gostd
synced 2025-01-15 01:00:15 +00:00
fixed build for gcc 11
This commit is contained in:
parent
8e00111f70
commit
1f5b7e56be
2
Xcoin.c
2
Xcoin.c
@ -33,7 +33,7 @@ typedef struct {
|
|||||||
sph_echo512_context echo1;
|
sph_echo512_context echo1;
|
||||||
} Xhash_context_holder;
|
} Xhash_context_holder;
|
||||||
|
|
||||||
Xhash_context_holder base_contexts;
|
static Xhash_context_holder base_contexts;
|
||||||
|
|
||||||
void init_Xhash_contexts()
|
void init_Xhash_contexts()
|
||||||
{
|
{
|
||||||
|
2
quark.c
2
quark.c
@ -22,7 +22,7 @@ typedef struct {
|
|||||||
sph_keccak512_context keccak1, keccak2;
|
sph_keccak512_context keccak1, keccak2;
|
||||||
} quarkhash_context_holder;
|
} quarkhash_context_holder;
|
||||||
|
|
||||||
quarkhash_context_holder base_contexts;
|
static quarkhash_context_holder base_contexts;
|
||||||
|
|
||||||
void init_quarkhash_contexts()
|
void init_quarkhash_contexts()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user