1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-06 12:04:20 +00:00

hash_sole_work can be static

This commit is contained in:
Con Kolivas 2013-02-11 15:28:41 +11:00
parent c28e2238c6
commit 20b5ebbc95

View File

@ -5406,7 +5406,7 @@ static void mt_disable(struct thr_info *mythr, const int thr_id,
/* The main hashing loop for devices that are slow enough to work on one work /* The main hashing loop for devices that are slow enough to work on one work
* item at a time, without a queue, aborting work before the entire nonce * item at a time, without a queue, aborting work before the entire nonce
* range has been hashed if needed. */ * range has been hashed if needed. */
void hash_sole_work(struct thr_info *mythr) static void hash_sole_work(struct thr_info *mythr)
{ {
const int thr_id = mythr->id; const int thr_id = mythr->id;
struct cgpu_info *cgpu = mythr->cgpu; struct cgpu_info *cgpu = mythr->cgpu;