Browse Source

hash_sole_work can be static

nfactor-troky
Con Kolivas 12 years ago
parent
commit
20b5ebbc95
  1. 2
      cgminer.c

2
cgminer.c

@ -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;

Loading…
Cancel
Save