mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 04:24:19 +00:00
fixed linking error for newer compilers
This commit is contained in:
parent
91d548206e
commit
a57505d40b
@ -49,7 +49,7 @@ typedef struct {
|
|||||||
sph_echo512_context echo2;
|
sph_echo512_context echo2;
|
||||||
} FreshHash_context_holder;
|
} FreshHash_context_holder;
|
||||||
|
|
||||||
FreshHash_context_holder base_contexts;
|
static FreshHash_context_holder base_contexts;
|
||||||
|
|
||||||
void init_freshHash_contexts()
|
void init_freshHash_contexts()
|
||||||
{
|
{
|
||||||
|
@ -50,7 +50,7 @@ typedef struct {
|
|||||||
sph_echo512_context echo1;
|
sph_echo512_context echo1;
|
||||||
} Qhash_context_holder;
|
} Qhash_context_holder;
|
||||||
|
|
||||||
Qhash_context_holder base_contexts;
|
static Qhash_context_holder base_contexts;
|
||||||
|
|
||||||
|
|
||||||
void init_Qhash_contexts()
|
void init_Qhash_contexts()
|
||||||
|
@ -44,7 +44,7 @@ typedef struct {
|
|||||||
sph_whirlpool1_context whirlpool4;
|
sph_whirlpool1_context whirlpool4;
|
||||||
} Whash_context_holder;
|
} Whash_context_holder;
|
||||||
|
|
||||||
Whash_context_holder base_contexts;
|
static Whash_context_holder base_contexts;
|
||||||
|
|
||||||
|
|
||||||
void init_whirlcoin_hash_contexts()
|
void init_whirlcoin_hash_contexts()
|
||||||
@ -157,4 +157,4 @@ bool scanhash_whirlcoin(struct thr_info *thr, const unsigned char __maybe_unused
|
|||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
2
miner.h
2
miner.h
@ -246,7 +246,7 @@ enum drv_driver {
|
|||||||
|
|
||||||
/* Use DRIVER_PARSE_COMMANDS to generate extern device_drv prototypes */
|
/* Use DRIVER_PARSE_COMMANDS to generate extern device_drv prototypes */
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
DRIVER_PARSE_COMMANDS(DRIVER_PROTOTYPE)
|
extern DRIVER_PARSE_COMMANDS(DRIVER_PROTOTYPE)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// helper to check for empty or NULL strings
|
// helper to check for empty or NULL strings
|
||||||
|
Loading…
x
Reference in New Issue
Block a user