mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
Statify tv_sort.
This commit is contained in:
parent
f0cc293239
commit
7d34a6b6e3
2
main.c
2
main.c
@ -2175,7 +2175,7 @@ static void test_work_current(struct work *work)
|
|||||||
free(hexstr);
|
free(hexstr);
|
||||||
}
|
}
|
||||||
|
|
||||||
int tv_sort(struct work *worka, struct work *workb)
|
static int tv_sort(struct work *worka, struct work *workb)
|
||||||
{
|
{
|
||||||
return worka->tv_staged.tv_sec - workb->tv_staged.tv_sec;
|
return worka->tv_staged.tv_sec - workb->tv_staged.tv_sec;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user